diff options
author | 2018-01-26 21:12:53 +0000 | |
---|---|---|
committer | 2018-01-26 21:12:53 +0000 | |
commit | d2f89835fa08f88f0100dae2996c49302ee25614 (patch) | |
tree | 140bb122328c6ee677713334c8a35e0e27b033eb /tests/unit/benchmark/scenarios/networking/test_pktgen_dpdk.py | |
parent | e6b6f6fca60322f57329d1c93a01c88c3c81b62c (diff) | |
parent | 4546d70b7532291150e9a5237f93dbe090bf99ff (diff) |
Merge "Replace assertEqual(x, True|False) with assert[True|False](x)"
Diffstat (limited to 'tests/unit/benchmark/scenarios/networking/test_pktgen_dpdk.py')
-rw-r--r-- | tests/unit/benchmark/scenarios/networking/test_pktgen_dpdk.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/benchmark/scenarios/networking/test_pktgen_dpdk.py b/tests/unit/benchmark/scenarios/networking/test_pktgen_dpdk.py index 19c84e855..c9eec4b94 100644 --- a/tests/unit/benchmark/scenarios/networking/test_pktgen_dpdk.py +++ b/tests/unit/benchmark/scenarios/networking/test_pktgen_dpdk.py @@ -61,7 +61,7 @@ class PktgenDPDKLatencyTestCase(unittest.TestCase): self.mock_ssh.SSH.from_node().execute.return_value = (0, '', '') self.assertIsNotNone(p.server) self.assertIsNotNone(p.client) - self.assertEqual(p.setup_done, True) + self.assertTrue(p.setup_done) def test_pktgen_dpdk_successful_get_port_ip(self): |