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

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):
self.environments = {}
def setup(self):
def setup(self, raise_on_errors=True):
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):
......
......@@ -56,7 +56,7 @@ class AsyncTest(unittest.TestCase):
@classmethod
def setUpClass(cls):
cls.host = Host()
cls.host.setup()
cls.host.setup(raise_on_errors=False)
@classmethod
......
......@@ -60,7 +60,7 @@ class TestExecution(unittest.TestCase):
@classmethod
def setUpClass(cls):
cls.host = Host()
cls.host.setup()
cls.host.setup(raise_on_errors=False)
@classmethod
......
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