Code Review
/
yardstick.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
assert[Greater,Equal] -> assert_{,not_}called
[yardstick.git]
/
yardstick
/
tests
/
unit
/
network_services
/
vnf_generic
/
vnf
/
test_tg_rfc2544_ixia.py
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
956c192
..
8cc118a
100644
(file)
--- 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()