🕷️ 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
tests: update tests accordingly
Karim shoair878be9ccbf4c
diff --git a/tests/fetchers/test_constants.py b/tests/fetchers/test_constants.pyindex b6aee29..b873322 100644--- a/tests/fetchers/test_constants.py+++ b/tests/fetchers/test_constants.py@@ -1,7 +1,8 @@from scrapling.engines.constants import (DEFAULT_DISABLED_RESOURCES,DEFAULT_STEALTH_FLAGS,- HARMFUL_DEFAULT_ARGS+ HARMFUL_DEFAULT_ARGS,+ DEFAULT_FLAGS,)@@ -20,8 +21,8 @@ class TestConstants:assert "--enable-automation" in HARMFUL_DEFAULT_ARGSassert "--disable-popup-blocking" in HARMFUL_DEFAULT_ARGS- def test_default_stealth_flags(self):+ def test_flags(self):"""Test default stealth flags"""- assert "--no-pings" in DEFAULT_STEALTH_FLAGS+ assert "--no-pings" in DEFAULT_FLAGSassert "--incognito" in DEFAULT_STEALTH_FLAGSassert "--disable-blink-features=AutomationControlled" in DEFAULT_STEALTH_FLAGS