summaryrefslogtreecommitdiffstats
path: root/ocata
diff options
context:
space:
mode:
authorHuang Haibin <haibin.huang@intel.com>2018-03-19 19:08:53 +0800
committerHuang Haibin <haibin.huang@intel.com>2018-03-19 19:08:53 +0800
commit2caeb52d4244f5662c8dfb0e352fd650b1982a21 (patch)
tree7985334047056972caff950c45f5a819822ba7c5 /ocata
parenta37b2370e1100a985943fce318370acccd3c1595 (diff)
add base capabilities unit test
Change-Id: I4ec42a4bd499d53463c9c926dc15c2bc4d47b9be Issue-ID: MULTICLOUD-189 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
Diffstat (limited to 'ocata')
-rw-r--r--ocata/ocata/registration/tests/test_registration.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/ocata/ocata/registration/tests/test_registration.py b/ocata/ocata/registration/tests/test_registration.py
index ac0a3cd9..a766df5d 100644
--- a/ocata/ocata/registration/tests/test_registration.py
+++ b/ocata/ocata/registration/tests/test_registration.py
@@ -58,7 +58,12 @@ MOCK_GET_FLAVOR_RESPONSE = {
"OS-FLV-DISABLED:disabled": True,
"properties": "hw:cpu_sockets, hw:cpu_cores, hw:cpu_threads"
},
-
+ {
+ "id": "5", "name": "onap.base_capabilities", "vcpus": 2, "ram": "2MB",
+ "disk": "2G", "OS-FLV-EXT-DATA:ephemeral": True,
+ "swap": False, "os-flavor-access:is_public": True,
+ "OS-FLV-DISABLED:disabled": True,
+ },
]
}