From 37546bf276e2b3d412de97193b8b1e4188670708 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A1n=20Chaves?= Date: Thu, 4 Apr 2024 11:40:19 +0200 Subject: [PATCH] Apply black --- tests/test_protego.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tests/test_protego.py b/tests/test_protego.py index aa15c85..9f6520e 100644 --- a/tests/test_protego.py +++ b/tests/test_protego.py @@ -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/", "*"))