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
/
helpers
/
test_dpdkbindnic_helper.py
diff --git
a/yardstick/tests/unit/network_services/helpers/test_dpdkbindnic_helper.py
b/yardstick/tests/unit/network_services/helpers/test_dpdkbindnic_helper.py
index
9d94e3d
..
e193116
100644
(file)
--- a/
yardstick/tests/unit/network_services/helpers/test_dpdkbindnic_helper.py
+++ b/
yardstick/tests/unit/network_services/helpers/test_dpdkbindnic_helper.py
@@
-289,7
+289,7
@@
class TestDpdkNode(unittest.TestCase):
dpdk_helper.force_dpdk_rebind = mock_helper_func = mock.Mock()
dpdk_node._force_rebind()
-
self.assertEqual(mock_helper_func.call_count, 1
)
+
mock_helper_func.assert_called_once(
)
class TestDpdkBindHelper(unittest.TestCase):