pep8 fixes

This commit is contained in:
Chris Behrens
2011-05-13 16:47:18 +00:00
parent 09a035c04a
commit fe84780dd7

View File

@@ -116,6 +116,7 @@ def stubout_loopingcall_start(stubs):
self.f(*self.args, **self.kw)
stubs.Set(utils.LoopingCall, 'start', fake_start)
def stubout_loopingcall_delay(stubs):
def fake_start(self, interval, now=True):
self._running = True
@@ -125,6 +126,7 @@ def stubout_loopingcall_delay(stubs):
assert self._running == False
stubs.Set(utils.LoopingCall, 'start', fake_start)
class FakeSessionForVMTests(fake.SessionBase):
""" Stubs out a XenAPISession for VM tests """
def __init__(self, uri):