mirror of
https://github.com/ansible/awx.git
synced 2026-08-06 21:01:47 -02:30
Hack to delete orphaned organizations, consolidate get_one methods
minor test update Updating the message if more than one object is found Update test to new message
This commit is contained in:
@@ -127,7 +127,9 @@ def test_missing_credential_type(run_module, admin_user, organization):
|
||||
state='present'
|
||||
), admin_user)
|
||||
assert result.get('failed', False), result
|
||||
assert 'foobar was not found on the Tower server' in result['msg']
|
||||
assert 'credential_type' in result['msg']
|
||||
assert 'foobar' in result['msg']
|
||||
assert 'returned 0 items, expected 1' in result['msg']
|
||||
|
||||
|
||||
@pytest.mark.django_db
|
||||
|
||||
Reference in New Issue
Block a user