From d48ac78c791bb8ca0c070054cf64771da2fe9fab Mon Sep 17 00:00:00 2001 From: Karim shoair Date: Mon, 9 Mar 2026 00:28:32 +0200 Subject: [PATCH] test: update tests accordingly --- tests/fetchers/test_utils.py | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/tests/fetchers/test_utils.py b/tests/fetchers/test_utils.py index 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()