add base capabilities unit test 11/36411/1
authorHuang Haibin <haibin.huang@intel.com>
Mon, 19 Mar 2018 11:08:53 +0000 (19:08 +0800)
committerHuang Haibin <haibin.huang@intel.com>
Mon, 19 Mar 2018 11:08:53 +0000 (19:08 +0800)
Change-Id: I4ec42a4bd499d53463c9c926dc15c2bc4d47b9be
Issue-ID: MULTICLOUD-189
Signed-off-by: Huang Haibin <haibin.huang@intel.com>
ocata/ocata/registration/tests/test_registration.py

index ac0a3cd..a766df5 100644 (file)
@@ -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,
+        },
 
     ]
 }