Skip to content

Commit

Permalink
Recursively delete the namespace in stage tests.
Browse files Browse the repository at this point in the history
No-Issue

Signed-off-by: James Tanner <[email protected]>
  • Loading branch information
jctanner committed Nov 14, 2024
1 parent ee22ba9 commit 1c79718
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion galaxy_ng/tests/integration/utils/iqe_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ def galaxy_stage_ansible_user_cleanup(gc, u):
delete_group(gc_admin, group)

with contextlib.suppress(GalaxyClientError):
delete_namespace(gc_admin, github_user_username.replace("-", "_"))
delete_namespace(gc_admin, github_user_username.replace("-", "_"), cascade=True)

with contextlib.suppress(ValueError):
delete_v1_namespace(gc_admin, github_user_username)
Expand Down

0 comments on commit 1c79718

Please sign in to comment.