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 "Module to manage pip packages"
[yardstick.git]
/
tests
/
unit
/
network_services
/
traffic_profile
/
test_prox_profile.py
diff --git
a/tests/unit/network_services/traffic_profile/test_prox_profile.py
b/tests/unit/network_services/traffic_profile/test_prox_profile.py
index
c32cc28
..
078e72b
100644
(file)
--- a/
tests/unit/network_services/traffic_profile/test_prox_profile.py
+++ b/
tests/unit/network_services/traffic_profile/test_prox_profile.py
@@
-63,8
+63,9
@@
class TestProxProfile(unittest.TestCase):
}
profile = ProxProfile(tp_config)
- profile.init(234)
- self.assertEqual(profile.queue, 234)
+ queue = mock.Mock()
+ profile.init(queue)
+ self.assertIs(profile.queue, queue)
def test_execute_traffic(self):
packet_sizes = [