From 2caeb52d4244f5662c8dfb0e352fd650b1982a21 Mon Sep 17 00:00:00 2001 From: Huang Haibin Date: Mon, 19 Mar 2018 19:08:53 +0800 Subject: add base capabilities unit test Change-Id: I4ec42a4bd499d53463c9c926dc15c2bc4d47b9be Issue-ID: MULTICLOUD-189 Signed-off-by: Huang Haibin --- ocata/ocata/registration/tests/test_registration.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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, + }, ] } -- cgit 1.2.3-korg