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:
John Westcott IV
2020-02-04 13:00:01 -05:00
committed by beeankha
parent 8a0432efb7
commit 1c505beba6
13 changed files with 81 additions and 125 deletions

View File

@@ -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'
}