From 2eab5f81270ad90ff5d30d024bf08e490a5cb977 Mon Sep 17 00:00:00 2001 From: Yun Huang Date: Mon, 23 Apr 2018 09:35:41 +0800 Subject: Fix flavor UT test data Change-Id: I363373bf51728ae1b3fd0ddfdf8466b4beb851c8 Issue-ID: MULTICLOUD-206 Signed-off-by: Yun Huang --- ocata/ocata/registration/tests/test_registration.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ocata') diff --git a/ocata/ocata/registration/tests/test_registration.py b/ocata/ocata/registration/tests/test_registration.py index 50b7fda2..0d1cfab0 100644 --- a/ocata/ocata/registration/tests/test_registration.py +++ b/ocata/ocata/registration/tests/test_registration.py @@ -148,13 +148,13 @@ TEST_REGISTER_ENDPOINT_REQUEST = { MOCK_GET_HPA_FLAVOR_LIST1_RESPONSE= { "flavors": [ { - "id": "1", "name": "micro", "vcpus": 1, "ram": "1MB", + "id": "1", "name": "micro", "vcpus": 1, "ram": "1024", "disk": "1G", "OS-FLV-EXT-DATA:ephemeral": False, "swap": True, "os-flavor-access:is_public": True, "OS-FLV-DISABLED:disabled": True, "link": [{"href": 1}] }, { - "id": "2", "name": "onap.mini", "vcpus": 2, "ram": "2", + "id": "2", "name": "onap.mini", "vcpus": 2, "ram": "2048", "disk": "2G", "OS-FLV-EXT-DATA:ephemeral": True, "swap": False, "os-flavor-access:is_public": True, "OS-FLV-DISABLED:disabled": True -- cgit 1.2.3-korg