Skip to content

Commit

Permalink
Add docstring to test.
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 Aug 16, 2024
1 parent 6c59fba commit e4a1442
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions galaxy_ng/tests/integration/dab/test_dab_rbac.py
Original file line number Diff line number Diff line change
Expand Up @@ -440,6 +440,17 @@ def test_dab_user_assignment_filtering_as_user(
random_namespace,
random_username,
):
"""
Integration test to assert a user can be assigned as the owner
of a namespace and then also be able to query their role assignments.
* This assumes there is a galaxy.collection_namespace_owner roledef
and that it has a content type defined.
* This also assumes the role_user_assignments endpoint is user
accessible and filterable.
* The role_user_assignments endpoint behaves differently for
evaluating a superuser vs a user for access.
"""
if settings.get('ALLOW_LOCAL_RESOURCE_MANAGEMENT') is False:
pytest.skip("this test relies on local resource creation")

Expand Down

0 comments on commit e4a1442

Please sign in to comment.