X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=yardstick%2Ftests%2Funit%2Fnetwork_services%2Fvnf_generic%2Fvnf%2Ftest_tg_rfc2544_ixia.py;h=8cc118a311c14e540d1c04894a31c99db43cab8c;hb=55d59992c6695e2ba4093b1d76905f3263dfba3e;hp=956c192aa9c8e905ea7e4a6e9a56db2637ae3081;hpb=a3399d07b83ce0e50d9c0144d00a7ba83a73390f;p=yardstick.git diff --git a/yardstick/tests/unit/network_services/vnf_generic/vnf/test_tg_rfc2544_ixia.py b/yardstick/tests/unit/network_services/vnf_generic/vnf/test_tg_rfc2544_ixia.py index 956c192aa..8cc118a31 100644 --- a/yardstick/tests/unit/network_services/vnf_generic/vnf/test_tg_rfc2544_ixia.py +++ b/yardstick/tests/unit/network_services/vnf_generic/vnf/test_tg_rfc2544_ixia.py @@ -53,7 +53,7 @@ class TestIxiaResourceHelper(unittest.TestCase): ixia_resource_helper.client = mock_client ixia_resource_helper.stop_collect() - self.assertEqual(mock_client.ix_stop_traffic.call_count, 1) + mock_client.ix_stop_traffic.assert_called_once() def test_run_traffic(self): mock_tprofile = mock.Mock()