From d71952acf56677ce795ff6a3cbdc7989922de66b Mon Sep 17 00:00:00 2001 From: Christian Date: Fri, 8 Mar 2024 12:46:01 +0100 Subject: [PATCH] ephemeral in galaxykit No-Issue --- galaxy_ng/tests/integration/utils/iqe_utils.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/galaxy_ng/tests/integration/utils/iqe_utils.py b/galaxy_ng/tests/integration/utils/iqe_utils.py index 54bd71ed53..7ba1f300f1 100755 --- a/galaxy_ng/tests/integration/utils/iqe_utils.py +++ b/galaxy_ng/tests/integration/utils/iqe_utils.py @@ -105,6 +105,8 @@ def gen_authorized_client( ): gw_auth = aap_gateway() self._basic_token = basic_token + if is_ephemeral_env(): + self._basic_token = True try: config = self.config() except TypeError: @@ -166,7 +168,7 @@ def gen_authorized_client( url, ignore_cache=ignore_cache, ssl_verify=ssl_verify, - basic_token=basic_token, + basic_token=self._basic_token, ) # ignore_cache=True role.update(token=token) auth = role @@ -174,7 +176,7 @@ def gen_authorized_client( auth = role container_engine = config.get("container_engine") container_registry = config.get("container_registry") - token_type = None if not basic_token else "Basic" + token_type = None if not self._basic_token else "Basic" gw_root_url = config.get("gw_root_url") g_client = GalaxyClient( url,