Fix UT data for discover HPA flavor 83/55783/1
authorYun Huang <yun.huang@windriver.com>
Wed, 4 Jul 2018 08:01:18 +0000 (16:01 +0800)
committerYun Huang <yun.huang@windriver.com>
Wed, 4 Jul 2018 08:01:18 +0000 (16:01 +0800)
Change-Id: I797257978b1acf6a842281f7e2cb0e4ccc4d8edd
Issue-ID: MULTICLOUD-230
Signed-off-by: Yun Huang <yun.huang@windriver.com>
windriver/titanium_cloud/registration/tests/test_registration2.py

index 3bfd138..b15beb2 100644 (file)
@@ -88,14 +88,7 @@ MOCK_GET_FLAVOR_RESPONSE_w_hpa_numa = {
     ]
 }
 MOCK_GET_FLAVOR_EXTRASPECS_RESPONSE_w_hpa_numa = {
-    "flavors": [
-        {
-            "id": "1", "name": "onap.big", "vcpus": 6, "ram": "8192",
-            "disk": "10", "OS-FLV-EXT-DATA:ephemeral": False,
-            "swap": True, "os-flavor-access:is_public": True,
-            "OS-FLV-DISABLED:disabled": True, "link": [{"href":1}]
-         }
-    ]
+    "hw:numa_nodes": 2
 }
 
 class TestRegistration2(unittest.TestCase):