Commit 92695e7f authored by Antoine Catton's avatar Antoine Catton

Adding mocking of time.sleep on promises tests

parent 0dfdde08
...@@ -474,6 +474,7 @@ chmod 755 etc/run/wrapper ...@@ -474,6 +474,7 @@ chmod 755 etc/run/wrapper
return (404, {}, '') return (404, {}, '')
httplib.HTTPConnection._callback = server_response httplib.HTTPConnection._callback = server_response
self.fake_waiting_time = 0.2
self.error = False self.error = False
instance_path = self._create_instance('0') instance_path = self._create_instance('0')
...@@ -522,6 +523,7 @@ exit 127""") ...@@ -522,6 +523,7 @@ exit 127""")
return (404, {}, '') return (404, {}, '')
httplib.HTTPConnection._callback = server_response httplib.HTTPConnection._callback = server_response
self.fake_waiting_time = 0.2
self.error = False self.error = False
instance_path = self._create_instance('0') instance_path = self._create_instance('0')
......
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