Commit 0d55282a authored by Romain Courteaud's avatar Romain Courteaud

[erp5_web_ui_test] Add timeout

parent 9d82f3f3
...@@ -110,7 +110,7 @@ class TestStaticWebSectionRedirection(ERP5TypeTestCase): ...@@ -110,7 +110,7 @@ class TestStaticWebSectionRedirection(ERP5TypeTestCase):
_, netloc_to_check, _, _, _ = urlparse.urlsplit(url_to_check) _, netloc_to_check, _, _, _ = urlparse.urlsplit(url_to_check)
connection = httplib.HTTPSConnection(netloc_to_check, context=ssl._create_unverified_context()) connection = httplib.HTTPSConnection(netloc_to_check, context=ssl._create_unverified_context(), timeout=10)
connection.request( connection.request(
method="GET", method="GET",
url=url_to_check url=url_to_check
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment