🕷️ The BEST Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scrapling_dev
Python aiai-scrapingautomationcrawlercrawlingcrawling-pythondatadata-extractionmcpmcp-serverplaywrightpythonscrapingselectorsstealthweb-scraperweb-scrapingweb-scraping-pythonwebscrapingxpath
Fixing the "Unknown Status Code" test
Karim shoair723a545061b6
diff --git a/tests/fetchers/test_utils.py b/tests/fetchers/test_utils.pyindex 0392388..5fc1906 100644--- a/tests/fetchers/test_utils.py+++ b/tests/fetchers/test_utils.py@@ -126,4 +126,4 @@ class TestPlayWrightFetcher(unittest.TestCase):for status_code, expected_status_text in self.status_map.items():self.assertEqual(StatusText.get(status_code), expected_status_text)- self.assertEqual(1000, "Unknown Status Code")+ self.assertEqual(StatusText.get(1000), "Unknown Status Code")