diff options
author | Yun Huang <yun.huang@windriver.com> | 2018-07-04 16:01:18 +0800 |
---|---|---|
committer | Yun Huang <yun.huang@windriver.com> | 2018-07-04 16:01:18 +0800 |
commit | addc4547b09542cb7326a303e1564a35eaff4ec2 (patch) | |
tree | 968f6e476fb1a6f74811778bb57ac162edf9bbea /windriver/titanium_cloud | |
parent | 924b3f0959872cf033c287d2c597defed6befc29 (diff) |
Fix UT data for discover HPA flavor
Change-Id: I797257978b1acf6a842281f7e2cb0e4ccc4d8edd
Issue-ID: MULTICLOUD-230
Signed-off-by: Yun Huang <yun.huang@windriver.com>
Diffstat (limited to 'windriver/titanium_cloud')
-rw-r--r-- | windriver/titanium_cloud/registration/tests/test_registration2.py | 9 |
1 files changed, 1 insertions, 8 deletions
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): |