diff options
author | Emma Foley <emma.l.foley@intel.com> | 2017-12-19 15:15:37 +0000 |
---|---|---|
committer | Emma Foley <emma.l.foley@intel.com> | 2018-01-25 20:30:53 +0000 |
commit | 4546d70b7532291150e9a5237f93dbe090bf99ff (patch) | |
tree | faf4628d935721e58603d7e9cfdf5184d1693350 /tests/unit/benchmark/contexts/standalone/test_sriov.py | |
parent | 44ee5e004f3af5dcdbbc1d172faba91b8419b6d6 (diff) |
Replace assertEqual(x, True|False) with assert[True|False](x)
Change-Id: Id19df79b4d27aab1a83d8350ce6395e87c13472b
JIRA: YARDSTICK-903
Signed-off-by: Emma Foley <emma.l.foley@intel.com>
Diffstat (limited to 'tests/unit/benchmark/contexts/standalone/test_sriov.py')
-rw-r--r-- | tests/unit/benchmark/contexts/standalone/test_sriov.py | 2 |
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=[{}, {}, {}]) |