Converting from string to array

This commit is contained in:
John Westcott IV 2020-08-31 10:52:58 -04:00
parent 5a8bcd357b
commit 574c3b65b2

View File

@ -28,7 +28,7 @@ def test_instance_group_create(run_module, admin_user):
# Set the new instance group only to the one instnace
result = run_module('tower_instance_group', {
'name': 'foo-group',
'instances': new_instance.hostname,
'instances': [ new_instance.hostname ],
'state': 'present'
}, admin_user)
assert not result.get('failed', False), result