Fix tests

This commit is contained in:
Thomas Sileo
2019-04-05 20:03:49 +02:00
parent 6e7bfdd5c1
commit 84997b564f
4 changed files with 6 additions and 5 deletions

View File

@@ -19,7 +19,7 @@ class Instance(object):
def __init__(self, name, host_url, docker_url=None):
self.host_url = host_url
self.docker_url = docker_url or host_url
self._create_delay = 60
self._create_delay = 15
with open(
os.path.join(
os.path.dirname(os.path.abspath(__file__)),
@@ -50,7 +50,6 @@ class Instance(object):
def debug(self):
"""Returns the debug infos (number of items in the inbox/outbox."""
time.sleep(self._create_delay)
resp = requests.get(
f"{self.host_url}/api/debug",
headers={**self._auth_headers, "Accept": "application/json"},