summaryrefslogtreecommitdiffstats
path: root/tests/unit/benchmark/contexts/standalone/test_sriov.py
diff options
context:
space:
mode:
authorRoss Brattain <ross.b.brattain@intel.com>2018-01-26 21:12:53 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-01-26 21:12:53 +0000
commitd2f89835fa08f88f0100dae2996c49302ee25614 (patch)
tree140bb122328c6ee677713334c8a35e0e27b033eb /tests/unit/benchmark/contexts/standalone/test_sriov.py
parente6b6f6fca60322f57329d1c93a01c88c3c81b62c (diff)
parent4546d70b7532291150e9a5237f93dbe090bf99ff (diff)
Merge "Replace assertEqual(x, True|False) with assert[True|False](x)"
Diffstat (limited to 'tests/unit/benchmark/contexts/standalone/test_sriov.py')
-rw-r--r--tests/unit/benchmark/contexts/standalone/test_sriov.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/benchmark/contexts/standalone/test_sriov.py b/tests/unit/benchmark/contexts/standalone/test_sriov.py
index 3ea673abc..7f11a7d59 100644
--- a/tests/unit/benchmark/contexts/standalone/test_sriov.py
+++ b/tests/unit/benchmark/contexts/standalone/test_sriov.py
@@ -70,7 +70,7 @@ class SriovContextTestCase(unittest.TestCase):
self.sriov.helper = mock_helper
self.sriov.vnf_node = mock_server
self.assertIsNone(self.sriov.file_path)
- self.assertEqual(self.sriov.first_run, True)
+ self.assertTrue(self.sriov.first_run)
def test_init(self):
self.sriov.helper.parse_pod_file = mock.Mock(return_value=[{}, {}, {}])