Skip to content

Commit 13c261f

Browse files
committed
Fix Galaxy platform version test script
1 parent d311d3c commit 13c261f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/version_check.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def main(argv):
2222
url = 'https://galaxy.ansible.com/api/v1/platforms/?name=MacOSX'
2323
r = requests.get(url)
2424
json_obj = json.loads(r.text)
25-
allowed_versions = set(map(lambda x: str(x["release"]), json_obj))
25+
allowed_versions = set(map(lambda x: str(x["release"]), json_obj['results']))
2626

2727
print "ALLOWED:", list(allowed_versions)
2828
print

0 commit comments

Comments
 (0)