diff options
author | Jing Lu <lvjing5@huawei.com> | 2017-06-23 01:52:13 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-06-23 01:52:13 +0000 |
commit | 6e3cb9346cb11acd6bf0882bd7f715b879246909 (patch) | |
tree | 653260ce1b5a7df90af132df790d6f89fb5f6ca4 /tests/unit | |
parent | b93bbc01bf90d4fe6defb137145e74aee8c3081e (diff) | |
parent | f92c10a994a2818d8e03ac0be35c6d697530bcb3 (diff) |
Merge "HA testcase improvement" into stable/danube
Diffstat (limited to 'tests/unit')
-rw-r--r-- | tests/unit/benchmark/scenarios/availability/test_scenario_general.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/unit/benchmark/scenarios/availability/test_scenario_general.py b/tests/unit/benchmark/scenarios/availability/test_scenario_general.py index ea54fbb9b..de2170b16 100644 --- a/tests/unit/benchmark/scenarios/availability/test_scenario_general.py +++ b/tests/unit/benchmark/scenarios/availability/test_scenario_general.py @@ -56,6 +56,7 @@ class ScenarioGeneralTestCase(unittest.TestCase): mock_obj = mock.Mock() mock_obj.createActionPlayer.side_effect = KeyError('Wrong') ins.director = mock_obj + ins.director.data = {} ins.run({}) ins.teardown() @@ -64,5 +65,6 @@ class ScenarioGeneralTestCase(unittest.TestCase): mock_obj = mock.Mock() mock_obj.verify.return_value = False ins.director = mock_obj + ins.director.data = {} ins.run({}) ins.teardown() |