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 /ocata | |
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 'ocata')
-rw-r--r-- | ocata/ocata/registration/tests/test_registration.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/ocata/ocata/registration/tests/test_registration.py b/ocata/ocata/registration/tests/test_registration.py index 4f68bf46..e3fe352e 100644 --- a/ocata/ocata/registration/tests/test_registration.py +++ b/ocata/ocata/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", |