Skip to content

🕷️ 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

test: fix old assert test

Karim shoairb1cd5c5a82e0
diff --git a/tests/fetchers/test_validator.py b/tests/fetchers/test_validator.py
index fd3b557..209fae0 100644
--- a/tests/fetchers/test_validator.py
+++ b/tests/fetchers/test_validator.py
@@ -23,7 +23,7 @@ class TestValidators:
assert config.max_pages == 2
assert config.headless is True
assert config.timeout == 30000
- assert isinstance(config.proxy, tuple) # Should be converted to tuple
+ assert isinstance(config.proxy, dict)
def test_playwright_config_invalid_max_pages(self):
"""Test PlaywrightConfig with invalid max_pages"""