summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRoss Brattain <ross.b.brattain@intel.com>2017-10-01 20:28:24 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-10-01 20:28:24 +0000
commit630f3ef1192f116ea55005179d6b674d71fb354b (patch)
treeb9f9754cc262138c8a62976d990d049592158a05 /tests
parentc26a006b489fcf61948a97bb18d39b7275c68d27 (diff)
parent875906201593d19f78bc1108330b42121d095185 (diff)
Merge "NSB: cancel all queue join threads"
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/network_services/traffic_profile/test_prox_profile.py5
1 files changed, 3 insertions, 2 deletions
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 c32cc2878..078e72b8e 100644
--- 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 = [