Skip to content

Commit

Permalink
Fix bug in test for skip tests
Browse files Browse the repository at this point in the history
  • Loading branch information
marcwickenden committed Oct 5, 2023
1 parent 512ee1f commit 2b83352
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/test_allowlist.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def test_hubspot_is_allowlisted(self):
def test_google_fonts_is_not_allowlisted_when_skip_checks_is_true(self):
check = SRICheck("https://www.4armed.com")
check.set_skip_checks(True)
self.assertEqual(check.is_allowlisted("fonts.googleapis.com"), True)
self.assertEqual(check.is_allowlisted("fonts.googleapis.com"), False)

def test_target_url_is_allowlisted(self):
check = SRICheck("https://www.4armed.com")
Expand Down

0 comments on commit 2b83352

Please sign in to comment.