aboutsummaryrefslogtreecommitdiffstats
path: root/functest/tests/unit/energy/test_functest_energy.py
diff options
context:
space:
mode:
authorCedric Ollivier <cedric.ollivier@orange.com>2017-09-28 13:16:55 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-09-28 13:16:55 +0000
commitbcfb795ef4307b91c10205f6531bed1d11efd489 (patch)
treeee8954fd03fe02d393207b4b5dd436b72efc9e6d /functest/tests/unit/energy/test_functest_energy.py
parent843fbe920471eff37f7acccb4f56bd603bfe22ba (diff)
parent86d5c31424187329f69a7e0efaa9dbe0dac98e56 (diff)
Merge "Fix connection error due to invalid lib version usage."
Diffstat (limited to 'functest/tests/unit/energy/test_functest_energy.py')
-rw-r--r--functest/tests/unit/energy/test_functest_energy.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/functest/tests/unit/energy/test_functest_energy.py b/functest/tests/unit/energy/test_functest_energy.py
index 738bd3e1..99110802 100644
--- a/functest/tests/unit/energy/test_functest_energy.py
+++ b/functest/tests/unit/energy/test_functest_energy.py
@@ -249,7 +249,7 @@ class EnergyRecorderTest(unittest.TestCase):
calls = [mock.call.start(self.case_name),
mock.call.submit_scenario(PREVIOUS_SCENARIO,
PREVIOUS_STEP)]
- recorder_mock.assert_has_calls(calls)
+ recorder_mock.assert_has_calls(calls, True)
def test_decorator_preserve_return(self):
"""Test that decorator preserve method returned value."""