mirror of
https://github.com/ansible/awx.git
synced 2026-05-23 16:47:45 -02:30
Converted tower_group
Splitting out tower_inventory_source from tower_group Copy/Paste typo fix and README update for breaking backwards compatability Update credential_type module and unit tests
This commit is contained in:
committed by
beeankha
parent
8a0432efb7
commit
1c505beba6
@@ -25,8 +25,9 @@ def test_create_group(run_module, admin_user):
|
||||
|
||||
result.pop('invocation')
|
||||
assert result == {
|
||||
'credential_type': 'Nexus',
|
||||
'id': group.id,
|
||||
'group': 'Test Group',
|
||||
'name': 'Test Group',
|
||||
'changed': True,
|
||||
'state': 'present'
|
||||
}
|
||||
@@ -53,7 +54,8 @@ def test_tower_group_idempotent(run_module, admin_user):
|
||||
result.pop('invocation')
|
||||
assert result == {
|
||||
'id': group.id,
|
||||
'group': 'Test Group',
|
||||
'credential_type': 'Nexus',
|
||||
'name': 'Test Group',
|
||||
'changed': False, # idempotency assertion
|
||||
'state': 'present'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user