diff options
author | Kubi <jean.gaoliang@huawei.com> | 2017-06-22 13:07:01 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-06-22 13:07:01 +0000 |
commit | 6b3ee75dc0b5fc0e66c914d0b72b4396411526fd (patch) | |
tree | 824f547f42d37a4f0c6fb4b2571606cb688dc2e8 /tests/unit | |
parent | a6eed7930c01d59b8511edec76cdae8c9ef5c94a (diff) | |
parent | 5b99f1532ec4d15258ec86e970acd2904954b3bc (diff) |
Merge "HA testcase improvement"
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() |