aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/benchmark/scenarios/dummy
diff options
context:
space:
mode:
authorEmma Foley <emma.l.foley@intel.com>2017-12-19 15:15:37 +0000
committerEmma Foley <emma.l.foley@intel.com>2018-01-25 20:30:53 +0000
commit4546d70b7532291150e9a5237f93dbe090bf99ff (patch)
treefaf4628d935721e58603d7e9cfdf5184d1693350 /tests/unit/benchmark/scenarios/dummy
parent44ee5e004f3af5dcdbbc1d172faba91b8419b6d6 (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/scenarios/dummy')
-rw-r--r--tests/unit/benchmark/scenarios/dummy/test_dummy.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/benchmark/scenarios/dummy/test_dummy.py b/tests/unit/benchmark/scenarios/dummy/test_dummy.py
index 560675d09..bc5131806 100644
--- a/tests/unit/benchmark/scenarios/dummy/test_dummy.py
+++ b/tests/unit/benchmark/scenarios/dummy/test_dummy.py
@@ -24,11 +24,11 @@ class DummyTestCase(unittest.TestCase):
self.assertIsNone(self.test_context.scenario_cfg)
self.assertIsNone(self.test_context.context_cfg)
- self.assertEqual(self.test_context.setup_done, False)
+ self.assertFalse(self.test_context.setup_done)
def test_run(self):
result = {}
self.test_context.run(result)
self.assertEqual(result["hello"], "yardstick")
- self.assertEqual(self.test_context.setup_done, True)
+ self.assertTrue(self.test_context.setup_done)