Skip to content

Commit

Permalink
Fix an issue where tests were adding to download metadata (#2200)
Browse files Browse the repository at this point in the history
  • Loading branch information
kddejong committed Jan 14, 2022
1 parent dcf1e78 commit 16df5d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/module/formatters/test_formatters.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ def test_sarif_formatter(self):
sarif = json.loads(formatter.print_matches(results, rules))

# Fetch the SARIF schema
schema = json.loads(cfnlint.helpers.get_url_content(sarif['$schema'], True))
schema = json.loads(cfnlint.helpers.get_url_content(sarif['$schema'], False))
jsonschema.validate(sarif, schema)

sarif_results = sarif['runs'][0]['results']
Expand Down

0 comments on commit 16df5d0

Please sign in to comment.