e2e: update for new saml-test-sp, pull image before run

This commit is contained in:
Jens Langhammer
2020-09-29 11:55:10 +02:00
parent 760352202e
commit e0d8189442
4 changed files with 30 additions and 12 deletions

View File

@ -47,6 +47,7 @@ class SeleniumTestCase(StaticLiveServerTestCase):
def _start_container(self, specs: Dict[str, Any]) -> Container:
client: DockerClient = from_env()
client.images.pull(specs['image'])
container = client.containers.run(**specs)
if "healthcheck" not in specs:
return container