mirror of
https://github.com/ansible/awx.git
synced 2026-02-20 12:40:06 -03:30
Further refine error message and update integration tests
Fix test with spaces pep8 failure More test tweaks Even more test fixes
This commit is contained in:
@@ -126,6 +126,7 @@ def test_conflicting_name_and_id(run_module, admin_user):
|
||||
)
|
||||
assert team.organization.name == 'foo'
|
||||
|
||||
|
||||
def test_multiple_lookup(run_module, admin_user):
|
||||
org1 = Organization.objects.create(name='foo')
|
||||
org2 = Organization.objects.create(name='bar')
|
||||
@@ -140,4 +141,3 @@ def test_multiple_lookup(run_module, admin_user):
|
||||
assert 'foo' in result['msg']
|
||||
assert 'returned 2 items, expected 1' in result['msg']
|
||||
assert 'query' in result
|
||||
|
||||
|
||||
Reference in New Issue
Block a user