From 86d5c31424187329f69a7e0efaa9dbe0dac98e56 Mon Sep 17 00:00:00 2001 From: Benoit HERARD Date: Thu, 28 Sep 2017 13:31:29 +0200 Subject: 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 --- functest/tests/unit/energy/test_functest_energy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'functest/tests/unit/energy/test_functest_energy.py') 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.""" -- cgit 1.2.3-korg