summaryrefslogtreecommitdiffstats
path: root/tests/unit/benchmark/scenarios/availability/test_serviceha.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/benchmark/scenarios/availability/test_serviceha.py')
-rw-r--r--tests/unit/benchmark/scenarios/availability/test_serviceha.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/benchmark/scenarios/availability/test_serviceha.py b/tests/unit/benchmark/scenarios/availability/test_serviceha.py
index 2b630da5a..97d534894 100644
--- a/tests/unit/benchmark/scenarios/availability/test_serviceha.py
+++ b/tests/unit/benchmark/scenarios/availability/test_serviceha.py
@@ -56,14 +56,14 @@ class ServicehaTestCase(unittest.TestCase):
p = serviceha.ServiceHA(self.args, self.ctx)
p.setup()
- self.assertEqual(p.setup_done, True)
+ self.assertTrue(p.setup_done)
mock_monitor.MonitorMgr().verify_SLA.return_value = True
ret = {}
p.run(ret)
p.teardown()
p.setup()
- self.assertEqual(p.setup_done, True)
+ self.assertTrue(p.setup_done)
# def test__serviceha_run_sla_error(self, mock_attacker, mock_monitor):
# p = serviceha.ServiceHA(self.args, self.ctx)