Skip to content

Commit

Permalink
Apply black
Browse files Browse the repository at this point in the history
  • Loading branch information
Gallaecio committed Apr 4, 2024
1 parent b716391 commit 37546bf
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tests/test_protego.py
Original file line number Diff line number Diff line change
Expand Up @@ -1142,10 +1142,7 @@ def test_parse_time_period(self):
self.assertEqual(end_time, time(6, 0))

def test_disallow_query_wildcard(self):
content = (
"User-agent: * \n"
"Disallow: /*s="
)
content = "User-agent: * \nDisallow: /*s="
rp = Protego.parse(content=content)
self.assertTrue(rp.can_fetch("https://www.site.local/", "*"))
self.assertTrue(rp.can_fetch("https://www.site.local/s/", "*"))
Expand Down

0 comments on commit 37546bf

Please sign in to comment.