Merge "Added cpu_info report to HyperV Compute driver"
This commit is contained in:
commit
f31beaf2c8
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -76,7 +76,7 @@ class HyperVAPITestCase(basetestcase.BaseTestCase):
|
||||
fake_image.stub_out_image_service(self.stubs)
|
||||
fake_network.stub_out_nw_api_get_instance_nw_info(self.stubs)
|
||||
|
||||
def fake_dumps(msg):
|
||||
def fake_dumps(msg, default=None, **kwargs):
|
||||
return '""'
|
||||
self.stubs.Set(json, 'dumps', fake_dumps)
|
||||
|
||||
@ -108,7 +108,8 @@ class HyperVAPITestCase(basetestcase.BaseTestCase):
|
||||
'multiprocessing',
|
||||
'_winreg',
|
||||
'nova.virt.configdrive',
|
||||
'nova.utils'
|
||||
'nova.utils',
|
||||
'ctypes'
|
||||
]
|
||||
|
||||
# Modules in which the mocks are going to be injected
|
||||
|
Loading…
Reference in New Issue
Block a user