diff options
author | 2018-06-22 11:43:07 +0000 | |
---|---|---|
committer | 2018-06-22 11:43:07 +0000 | |
commit | 9e33d405f33273c26b89f2ecdc49e42f1b560f02 (patch) | |
tree | 4d22ebb64e970bf7efd7e0280948aa96662f3c63 /tests/unit/network_services/vnf_generic/vnf/test_base.py | |
parent | 1d1c746e56bf498054bcc21d1635f8958ac0b9c4 (diff) | |
parent | 71feb5eef59ca5b525b7313c1a24f1c60d0f6263 (diff) |
Merge "Do not start collectd twice when SampleVNF is running on Baremetal" into stable/fraser
Diffstat (limited to 'tests/unit/network_services/vnf_generic/vnf/test_base.py')
-rw-r--r-- | tests/unit/network_services/vnf_generic/vnf/test_base.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/unit/network_services/vnf_generic/vnf/test_base.py b/tests/unit/network_services/vnf_generic/vnf/test_base.py index 664373f8f..9ef6473f0 100644 --- a/tests/unit/network_services/vnf_generic/vnf/test_base.py +++ b/tests/unit/network_services/vnf_generic/vnf/test_base.py @@ -215,9 +215,11 @@ class TestGenericVNF(unittest.TestCase): with self.assertRaises(TypeError) as exc: # pylint: disable=abstract-class-instantiated base.GenericVNF('vnf1', VNFD['vnfd:vnfd-catalog']['vnfd'][0]) - msg = ("Can't instantiate abstract class GenericVNF with abstract " - "methods collect_kpi, instantiate, scale, terminate, " - "wait_for_instantiate") + + msg = ("Can't instantiate abstract class GenericVNF with abstract methods " + "collect_kpi, instantiate, scale, start_collect, " + "stop_collect, terminate, wait_for_instantiate") + self.assertEqual(msg, str(exc.exception)) |