diff options
author | Jing Lu <lvjing5@huawei.com> | 2017-05-03 15:27:14 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-05-03 15:27:14 +0000 |
commit | 6c9f7954aa9f1934618e880d86297de2b2365ab6 (patch) | |
tree | 6c8279f39dc66aa700fff2a8bb74ba090470bc66 /tests/unit/benchmark/scenarios/availability | |
parent | 1991dc99014359d15351f3da3eeaa6fc1348d632 (diff) | |
parent | 71bbbdb18b5f8621b8b4ed9aa0e4fcc1e8882085 (diff) |
Merge "fix ha issue when run tc050~tc054 in ci"
Diffstat (limited to 'tests/unit/benchmark/scenarios/availability')
-rw-r--r-- | tests/unit/benchmark/scenarios/availability/test_scenario_general.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/unit/benchmark/scenarios/availability/test_scenario_general.py b/tests/unit/benchmark/scenarios/availability/test_scenario_general.py index 593fc77b3..ea54fbb9b 100644 --- a/tests/unit/benchmark/scenarios/availability/test_scenario_general.py +++ b/tests/unit/benchmark/scenarios/availability/test_scenario_general.py @@ -48,7 +48,7 @@ class ScenarioGeneralTestCase(unittest.TestCase): def test_scenario_general_all_successful(self, mock_director): ins = ScenarioGeneral(self.scenario_cfg, None) ins.setup() - ins.run(None) + ins.run({}) ins.teardown() def test_scenario_general_exception(self, mock_director): @@ -56,7 +56,7 @@ class ScenarioGeneralTestCase(unittest.TestCase): mock_obj = mock.Mock() mock_obj.createActionPlayer.side_effect = KeyError('Wrong') ins.director = mock_obj - ins.run(None) + ins.run({}) ins.teardown() def test_scenario_general_case_fail(self, mock_director): @@ -64,5 +64,5 @@ class ScenarioGeneralTestCase(unittest.TestCase): mock_obj = mock.Mock() mock_obj.verify.return_value = False ins.director = mock_obj - ins.run(None) + ins.run({}) ins.teardown() |