🕷️ 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
test: update tests accordingly
Karim shoaird48ac78c791b
diff --git a/tests/fetchers/test_utils.py b/tests/fetchers/test_utils.pyindex 526f898..bebb5fd 100644--- a/tests/fetchers/test_utils.py+++ b/tests/fetchers/test_utils.py@@ -7,7 +7,6 @@ from scrapling.engines.toolbelt.navigation import (create_async_intercept_handler,)from scrapling.engines.toolbelt.fingerprints import (- generate_convincing_referer,get_os_name,generate_headers)@@ -204,21 +203,6 @@ class TestConstructProxyDict:class TestFingerprintFunctions:"""Test fingerprint generation functions"""- def test_generate_convincing_referer(self):- """Test referer generation"""- url = "https://sub.example.com/page.html"- result = generate_convincing_referer(url)-- assert result == "https://www.google.com/"-- def test_generate_convincing_referer_caching(self):- """Test referer generation caching"""- url = "https://example.com"- result1 = generate_convincing_referer(url)- result2 = generate_convincing_referer(url)-- assert result1 == result2-def test_get_os_name(self):"""Test OS name detection"""result = get_os_name()