Code Review
/
yardstick.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "Cleanup unittests for test_lmbench"
[yardstick.git]
/
yardstick
/
tests
/
unit
/
network_services
/
traffic_profile
/
test_prox_profile.py
diff --git
a/yardstick/tests/unit/network_services/traffic_profile/test_prox_profile.py
b/yardstick/tests/unit/network_services/traffic_profile/test_prox_profile.py
index
e466305
..
cf31cc2
100644
(file)
--- a/
yardstick/tests/unit/network_services/traffic_profile/test_prox_profile.py
+++ b/
yardstick/tests/unit/network_services/traffic_profile/test_prox_profile.py
@@
-124,5
+124,5
@@
class TestProxProfile(unittest.TestCase):
for _ in profile.bounds_iterator(mock_logger):
pass
for _ in profile.bounds_iterator(mock_logger):
pass
-
self.assertEqual(mock_logger.debug.call_count, 1
)
+
mock_logger.debug.assert_called_once(
)
self.assertEqual(mock_logger.info.call_count, 10)
self.assertEqual(mock_logger.info.call_count, 10)