From addc4547b09542cb7326a303e1564a35eaff4ec2 Mon Sep 17 00:00:00 2001 From: Yun Huang Date: Wed, 4 Jul 2018 16:01:18 +0800 Subject: Fix UT data for discover HPA flavor Change-Id: I797257978b1acf6a842281f7e2cb0e4ccc4d8edd Issue-ID: MULTICLOUD-230 Signed-off-by: Yun Huang --- .../titanium_cloud/registration/tests/test_registration2.py | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'windriver/titanium_cloud') diff --git a/windriver/titanium_cloud/registration/tests/test_registration2.py b/windriver/titanium_cloud/registration/tests/test_registration2.py index 3bfd138a..b15beb21 100644 --- a/windriver/titanium_cloud/registration/tests/test_registration2.py +++ b/windriver/titanium_cloud/registration/tests/test_registration2.py @@ -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): -- cgit 1.2.3-korg