Test Fixes (#299)

Signed-off-by: Modular Magician <magic-modules@google.com>
This commit is contained in:
The Magician 2019-07-09 11:32:46 -07:00 committed by Alex Stephen
commit 5b92781ab0
45 changed files with 19 additions and 96 deletions

View file

@ -108,8 +108,8 @@ def main():
module.params['scopes'] = ['https://www.googleapis.com/auth/iam']
items = fetch_list(module, collection(module))
if items.get('items'):
items = items.get('items')
if items.get('accounts'):
items = items.get('accounts')
else:
items = []
return_value = {'resources': items}