From: Huang Haibin Date: Mon, 19 Mar 2018 11:08:53 +0000 (+0800) Subject: add base capabilities unit test X-Git-Tag: v1.1.2~181 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F11%2F36411%2F1;p=multicloud%2Fopenstack.git add base capabilities unit test Change-Id: I4ec42a4bd499d53463c9c926dc15c2bc4d47b9be Issue-ID: MULTICLOUD-189 Signed-off-by: Huang Haibin --- 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, + }, ] }