diff --git a/awx/main/tests/functional/dab_resource_registry/test_resource_list.py b/awx/main/tests/functional/dab_resource_registry/test_resource_list.py new file mode 100644 index 000000000000..b57030fb46bc --- /dev/null +++ b/awx/main/tests/functional/dab_resource_registry/test_resource_list.py @@ -0,0 +1,15 @@ +import pytest + +from ansible_base.lib.utils.response import get_relative_url + + +@pytest.mark.django_db +def test_users_in_resource_list(admin_user, rando, get): + url = get_relative_url("resource-list") + get(url=url, expect=200, user=admin_user) + + +@pytest.mark.django_db +def test_user_resource_detail(admin_user, rando, get): + url = get_relative_url("resource-detail", kwargs={'ansible_id': str(rando.resource.ansible_id)}) + get(url=url, expect=200, user=admin_user)