Merge "Removes unnecessary instructions in test_hypervapi"

This commit is contained in:
Jenkins 2014-08-06 20:27:54 +00:00 committed by Gerrit Code Review
commit 5cc11fcf64
1 changed files with 0 additions and 4 deletions

View File

@ -134,10 +134,6 @@ class HyperVAPIBaseTestCase(test.NoDBTestCase):
pass
self.stubs.Set(time, 'sleep', fake_sleep)
def fake_vmutils__init__(self, host='.'):
pass
vmutils.VMUtils.__init__ = fake_vmutils__init__
self.stubs.Set(pathutils, 'PathUtils', fake.PathUtils)
self._mox.StubOutWithMock(fake.PathUtils, 'open')
self._mox.StubOutWithMock(fake.PathUtils, 'copyfile')