Skip to content

Commit

Permalink
Merge pull request #247 from dosaboy/func-tests-allow-none-bundles
Browse files Browse the repository at this point in the history
Support tests.yaml bundles defined as None
  • Loading branch information
rodrigogansobarbieri committed Sep 17, 2024
2 parents a9fc9cf + 39d94ba commit 37e0245
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def extract_targets(bundle_list):
value so this accounts for both formats.
"""
extracted = []
for item in bundle_list:
for item in bundle_list or []:
if isinstance(item, dict):
extracted.append(list(item.values())[0])
else:
Expand Down

0 comments on commit 37e0245

Please sign in to comment.