From 0ba5ff146d90f117fab34b1a5b1bfc918c1fbfd2 Mon Sep 17 00:00:00 2001 From: micafer Date: Wed, 21 Nov 2018 13:22:45 +0100 Subject: [PATCH] Add test --- test/unit/REST.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/unit/REST.py b/test/unit/REST.py index 6efe0ecaf..10a987836 100755 --- a/test/unit/REST.py +++ b/test/unit/REST.py @@ -178,6 +178,9 @@ def test_GetInfrastructureProperty(self, bottle_request, get_infrastructure, Get res = RESTGetInfrastructureProperty("1", "radl") self.assertEqual(res, "radl") + res = RESTGetInfrastructureProperty("1", "outputs") + self.assertEqual(res, '{"outputs": "outputs"}') + res = RESTGetInfrastructureProperty("1", "tosca") self.assertEqual(res, "tosca")