aboutsummaryrefslogtreecommitdiffstats
path: root/functest/tests/unit/energy/test_functest_energy.py
diff options
context:
space:
mode:
authorBenoit HERARD <benoit.herard@orange.com>2017-09-28 13:31:29 +0200
committerBenoit HERARD <benoit.herard@orange.com>2017-09-28 13:31:29 +0200
commit86d5c31424187329f69a7e0efaa9dbe0dac98e56 (patch)
treeafcffcd31386b216fe1ed65f697b92dfb0ca3d0a /functest/tests/unit/energy/test_functest_energy.py
parent405a0872282f5b29bb9e60ba19b11b17c8047647 (diff)
Fix connection error due to invalid lib version usage.
Connection timeouts on "requests" objects was developped with requests 2.18 but target runtime is 2.12. Advanced timeout management of 2.18 is not available in 2.12. Change-Id: Ie6d81b91d4bcc0d73cffd007d9e46cdb19e47597 Signed-off-by: Benoit HERARD <benoit.herard@orange.com>
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."""