Debug the CI

This commit is contained in:
Thomas Sileo
2018-05-30 22:50:45 +02:00
parent d2be270ccb
commit 3dbe4ba4e9
4 changed files with 7 additions and 5 deletions

View File

@@ -19,7 +19,7 @@ class Instance(object):
self.docker_url = docker_url or host_url
self.session = requests.Session()
self._create_delay = 10
with open(os.path.join(os.path.abspath(__file__), f'fixtures/{name}/config/admin_api_key.key')) as f:
with open(os.path.join(os.path.dirname(os.path.abspath(__file__)), f'fixtures/{name}/config/admin_api_key.key')) as f:
api_key = f.read()
self._auth_headers = {'Authorization': f'Bearer {api_key}'}