Commit 5ebb4e01 authored by Philip ABBET's avatar Philip ABBET
Browse files

During tests, use the new image priority mechanism

parent 0f90839d
Pipeline #6704 canceled with stage
in 2 minutes and 30 seconds
...@@ -64,11 +64,11 @@ class Host(object): ...@@ -64,11 +64,11 @@ class Host(object):
self.environments = {} self.environments = {}
def setup(self): def setup(self, raise_on_errors=True):
self.client = docker.Client(**self.kwargs) self.client = docker.Client(**self.kwargs)
self.environments = self._discover_environments(raise_on_errors=False) self.environments = self._discover_environments(raise_on_errors)
def __contains__(self, key): def __contains__(self, key):
......
...@@ -56,7 +56,7 @@ class AsyncTest(unittest.TestCase): ...@@ -56,7 +56,7 @@ class AsyncTest(unittest.TestCase):
@classmethod @classmethod
def setUpClass(cls): def setUpClass(cls):
cls.host = Host() cls.host = Host()
cls.host.setup() cls.host.setup(raise_on_errors=False)
@classmethod @classmethod
......
...@@ -60,7 +60,7 @@ class TestExecution(unittest.TestCase): ...@@ -60,7 +60,7 @@ class TestExecution(unittest.TestCase):
@classmethod @classmethod
def setUpClass(cls): def setUpClass(cls):
cls.host = Host() cls.host = Host()
cls.host.setup() cls.host.setup(raise_on_errors=False)
@classmethod @classmethod
......
Supports Markdown
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