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

@ -39,6 +39,7 @@ class TestProviderProxy(SeleniumTestCase):
def start_proxy(self, outpost: Outpost) -> Container:
"""Start proxy container based on outpost created"""
client: DockerClient = from_env()
client.images.pull("beryju/oidc-test-client")
container = client.containers.run(
image="beryju/passbook-proxy:latest",
detach=True,
@ -111,6 +112,7 @@ class TestProviderProxyConnect(ChannelsLiveServerTestCase):
def start_proxy(self, outpost: Outpost) -> Container:
"""Start proxy container based on outpost created"""
client: DockerClient = from_env()
client.images.pull("beryju/oidc-test-client")
container = client.containers.run(
image="beryju/passbook-proxy:latest",
detach=True,