Skip to content

Commit

Permalink
ephemeral in galaxykit
Browse files Browse the repository at this point in the history
No-Issue
  • Loading branch information
chr-stian committed Mar 8, 2024
1 parent f01ed2c commit d71952a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions galaxy_ng/tests/integration/utils/iqe_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -166,15 +168,15 @@ 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
else:
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,
Expand Down

0 comments on commit d71952a

Please sign in to comment.