From b99e5fe6867a1aa77034e6fc9d4d7b1c9e4cb1e7 Mon Sep 17 00:00:00 2001 From: Christian Date: Mon, 12 Feb 2024 09:01:22 +0100 Subject: [PATCH] wip No-Issue --- galaxy_ng/tests/integration/utils/namespaces.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/galaxy_ng/tests/integration/utils/namespaces.py b/galaxy_ng/tests/integration/utils/namespaces.py index 8d2af8fcce..276aed29d9 100644 --- a/galaxy_ng/tests/integration/utils/namespaces.py +++ b/galaxy_ng/tests/integration/utils/namespaces.py @@ -6,6 +6,7 @@ from .collections import delete_all_collections_in_namespace, \ delete_all_collections_in_namespace_gk +from .iqe_utils import fix_prefix_workaround logger = logging.getLogger(__name__) @@ -52,7 +53,7 @@ def get_all_namespaces(gc=None, api_version='v3'): next_page = f'{api_version}/namespaces/' while next_page: # workaround - next_page = next_page.replace("/api/galaxy/", "/api/hub/") + next_page = fix_prefix_workaround(next_page) resp = gc.get(next_page) namespaces.extend(resp['data']) next_page = resp.get('links', {}).get('next')