diff options
author | Bin Yang <bin.yang@windriver.com> | 2017-10-16 18:00:09 +0800 |
---|---|---|
committer | Bin Yang <bin.yang@windriver.com> | 2017-10-16 18:00:09 +0800 |
commit | 59caaba8c52198f6072a5053d81d7e14c2b0ce66 (patch) | |
tree | 76395aac30cdab11b8e69808bf2f21aa976e27c4 /windriver/titanium_cloud/registration | |
parent | ba97c6ef5f6cda54d9b187770e57777f6ae22abc (diff) |
Fix error of registration
Change-Id: Ia8cf83a84dc8484e4e02d6372ff4646049b9234b
Issue-Id: MULTICLOUD-111
Signed-off-by: Bin Yang <bin.yang@windriver.com>
Diffstat (limited to 'windriver/titanium_cloud/registration')
-rw-r--r-- | windriver/titanium_cloud/registration/tests/test_registration.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/windriver/titanium_cloud/registration/tests/test_registration.py b/windriver/titanium_cloud/registration/tests/test_registration.py index 041d2ec0..4c20edee 100644 --- a/windriver/titanium_cloud/registration/tests/test_registration.py +++ b/windriver/titanium_cloud/registration/tests/test_registration.py @@ -103,11 +103,7 @@ MOCK_GET_HYPERVISOR_RESPONSE = { "hypervisor_hostname": "testing", "state": "ACTIVE", "id": 1, "local_gb": 256, "memory_mb": 1024, "hypervisor_links": "link", "host_ip": "127.0.0.1", - "cpu_info": { - "topology": { - "cores": 8, "threads": 16, "sockets": 4 - } - } + "cpu_info": u'{"topology": {"cores": 8, "threads": 16, "sockets": 4}}' }, { "hypervisor_hostname": "testing2", "state": "XXX", |