summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ocata/ocata/registration/tests/test_registration.py4
-rw-r--r--windriver/titanium_cloud/registration/tests/test_registration.py4
2 files changed, 4 insertions, 4 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
diff --git a/windriver/titanium_cloud/registration/tests/test_registration.py b/windriver/titanium_cloud/registration/tests/test_registration.py
index 23ee9689..5c31c4e8 100644
--- a/windriver/titanium_cloud/registration/tests/test_registration.py
+++ b/windriver/titanium_cloud/registration/tests/test_registration.py
@@ -122,13 +122,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": "2MB",
+ "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