diff options
| author | Chris Behrens <cbehrens@codestud.com> | 2011-05-13 16:47:18 +0000 |
|---|---|---|
| committer | Chris Behrens <cbehrens@codestud.com> | 2011-05-13 16:47:18 +0000 |
| commit | 3f247a628c954d5d4d97def6e6a2f889ab7ec7e3 (patch) | |
| tree | 7780f3b1f490b679ab4e497340bfbe62d7654f18 | |
| parent | be83d7317ee55ae0ef436f09f25beef2eccee5a6 (diff) | |
| download | nova-3f247a628c954d5d4d97def6e6a2f889ab7ec7e3.tar.gz nova-3f247a628c954d5d4d97def6e6a2f889ab7ec7e3.tar.xz nova-3f247a628c954d5d4d97def6e6a2f889ab7ec7e3.zip | |
pep8 fixes
| -rw-r--r-- | nova/tests/xenapi/stubs.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nova/tests/xenapi/stubs.py b/nova/tests/xenapi/stubs.py index f3d3d0ceb..4833ccb07 100644 --- a/nova/tests/xenapi/stubs.py +++ b/nova/tests/xenapi/stubs.py @@ -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): |
