mirror of
https://github.com/ansible/awx.git
synced 2026-02-24 06:26:00 -03:30
Add tests for AWX collection credential fixes (#3893)
This commit is contained in:
committed by
Ryan Petrello
parent
6f2a07a7df
commit
98d3f3dc8a
@@ -117,3 +117,10 @@ def test_handle_content_type(post, admin):
|
||||
admin,
|
||||
content_type='text/html',
|
||||
expect=415)
|
||||
|
||||
|
||||
@pytest.mark.django_db
|
||||
def test_basic_not_found(get, admin_user):
|
||||
root_url = reverse('api:api_v2_root_view')
|
||||
r = get(root_url + 'fooooooo', user=admin_user, expect=404)
|
||||
assert r.data.get('detail') == 'The requested resource could not be found.'
|
||||
|
||||
Reference in New Issue
Block a user