From 59caaba8c52198f6072a5053d81d7e14c2b0ce66 Mon Sep 17 00:00:00 2001 From: Bin Yang Date: Mon, 16 Oct 2017 18:00:09 +0800 Subject: Fix error of registration Change-Id: Ia8cf83a84dc8484e4e02d6372ff4646049b9234b Issue-Id: MULTICLOUD-111 Signed-off-by: Bin Yang --- ocata/ocata/registration/tests/test_registration.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'ocata') 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", -- cgit 1.2.3-korg