From 2499e41bcb753ed63241beb1bcdc57a3c20bf16a Mon Sep 17 00:00:00 2001 From: micafer Date: Wed, 3 Oct 2018 13:21:00 +0200 Subject: [PATCH] Improve test --- test/unit/Tosca.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/unit/Tosca.py b/test/unit/Tosca.py index 643eba9ee..b4b97d441 100755 --- a/test/unit/Tosca.py +++ b/test/unit/Tosca.py @@ -80,6 +80,8 @@ def test_tosca_to_radl(self): self.assertEqual(lrms_wn.getValue("spot"), 'no') self.assertEqual(lrms_wn.getValue("instance_type"), 'some_type') + self.assertEqual([d.id for d in radl.deploys], ['other_server', 'lrms_server', 'lrms_wn']) + def test_tosca_get_outputs(self): """Test TOSCA get_outputs function""" tosca_data = read_file_as_string('../files/tosca_create.yml')