summaryrefslogtreecommitdiffstats
path: root/ocata
diff options
context:
space:
mode:
authorYun Huang <yun.huang@windriver.com>2018-04-23 09:35:41 +0800
committerYun Huang <yun.huang@windriver.com>2018-04-23 09:35:41 +0800
commit2eab5f81270ad90ff5d30d024bf08e490a5cb977 (patch)
tree018680db029e271fb0c14fe19a7c4e82177b94ed /ocata
parent7b7516984a1bebf4abb3cb5156598b73f2ad48e4 (diff)
Fix flavor UT test data
Change-Id: I363373bf51728ae1b3fd0ddfdf8466b4beb851c8 Issue-ID: MULTICLOUD-206 Signed-off-by: Yun Huang <yun.huang@windriver.com>
Diffstat (limited to 'ocata')
-rw-r--r--ocata/ocata/registration/tests/test_registration.py4
1 files changed, 2 insertions, 2 deletions
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