🕷️ 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
Turn auto_match off when not needed in testing
Karim shoair55ab1d63b7c6
diff --git a/tests/test_parser_functions.py b/tests/test_parser_functions.pyindex 80c8f0f..88013ad 100644--- a/tests/test_parser_functions.py+++ b/tests/test_parser_functions.py@@ -127,16 +127,16 @@ class TestParser(unittest.TestCase):def test_expected_errors(self):"""Test errors that should raised if it does"""with self.assertRaises(ValueError):- _ = Adaptor()+ _ = Adaptor(auto_match=False)with self.assertRaises(TypeError):- _ = Adaptor(root="ayo")+ _ = Adaptor(root="ayo", auto_match=False)with self.assertRaises(TypeError):- _ = Adaptor(text=1)+ _ = Adaptor(text=1, auto_match=False)with self.assertRaises(TypeError):- _ = Adaptor(body=1)+ _ = Adaptor(body=1, auto_match=False)with self.assertRaises(ValueError):_ = Adaptor(self.html, storage=object, auto_match=True)