Skip to content

Commit e685ff9

Browse files
Change expected timeout from 30 to 120 seconds
1 parent 16132f9 commit e685ff9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

apps/predbat/tests/test_octopus_free.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ def test_octopus_free(my_predbat):
8181
if mock_get.call_count != 1:
8282
print("FAIL: Expected 1 HTTP call when covering free-session timeout, got {}".format(mock_get.call_count))
8383
failed = True
84-
elif mock_get.call_args.kwargs.get("timeout") != 30:
85-
print("FAIL: Expected Octopus free-session timeout 30, got {}".format(mock_get.call_args.kwargs.get("timeout")))
84+
elif mock_get.call_args.kwargs.get("timeout") != 120:
85+
print("FAIL: Expected Octopus free-session timeout 120, got {}".format(mock_get.call_args.kwargs.get("timeout")))
8686
failed = True
8787
elif body != _JSON_BODY:
8888
print("FAIL: Expected Octopus free-session body to round-trip unchanged")

0 commit comments

Comments
 (0)