Remove unnecessary stubout_loopingcall_start
The xenapi driver no longer uses utils.LoopingCall Change-Id: I144e5331e871570d8d22b87844ecebb63ed02697
This commit is contained in:
@@ -162,12 +162,6 @@ def stubout_create_vm(stubs):
|
||||
stubs.Set(vm_utils.VMHelper, 'create_vm', f)
|
||||
|
||||
|
||||
def stubout_loopingcall_start(stubs):
|
||||
def fake_start(self, interval):
|
||||
self.f(*self.args, **self.kw)
|
||||
stubs.Set(utils.LoopingCall, 'start', fake_start)
|
||||
|
||||
|
||||
def _make_fake_vdi():
|
||||
sr_ref = fake.get_all('SR')[0]
|
||||
vdi_ref = fake.create_vdi('', sr_ref)
|
||||
|
||||
Reference in New Issue
Block a user