From c09b4e9713a47ea011ca5c4888440e91b627d411 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Fri, 2 Oct 2020 10:30:56 +0200 Subject: [PATCH] e2e: fix invalid proxy image being pulled --- e2e/test_provider_proxy.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/e2e/test_provider_proxy.py b/e2e/test_provider_proxy.py index 7b6e7fc72..2bd9d8aff 100644 --- a/e2e/test_provider_proxy.py +++ b/e2e/test_provider_proxy.py @@ -39,9 +39,8 @@ 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", + image=f"beryju/passbook-proxy:{__version__}", detach=True, network_mode="host", auto_remove=True, @@ -112,9 +111,8 @@ 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", + image=f"beryju/passbook-proxy:{__version__}", detach=True, network_mode="host", auto_remove=True,