diff options
author | Chornyi, TarasX <tarasx.chornyi@intel.com> | 2018-04-05 11:59:20 +0300 |
---|---|---|
committer | Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com> | 2018-05-14 09:39:23 +0000 |
commit | ba2ca2819a8b0312627742d126030c3dac15052f (patch) | |
tree | e8b9b643db89ecf09f225140e864e63f96b7f7cc /tests/unit/network_services/vnf_generic/vnf/test_base.py | |
parent | d38bd854fb2c3eb6c0c4dd34ace2a52af7cf892d (diff) |
Do not start collectd twice when SampleVNF is running on Baremetal
JIRA: YARDSTICK-1167
Change-Id: I7591bbb2a84ee4039a20c5da2914f1e374299015
Signed-off-by: Chornyi, TarasX <tarasx.chornyi@intel.com>
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)) |