test: Update tests to use current configuration
This commit is contained in:
@@ -3,6 +3,8 @@ import pytest_httpbin
|
||||
|
||||
from scrapling import PlayWrightFetcher
|
||||
|
||||
PlayWrightFetcher.auto_match = True
|
||||
|
||||
|
||||
@pytest_httpbin.use_class_based_httpbin
|
||||
class TestPlayWrightFetcher:
|
||||
@@ -10,7 +12,7 @@ class TestPlayWrightFetcher:
|
||||
@pytest.fixture(scope="class")
|
||||
def fetcher(self):
|
||||
"""Fixture to create a StealthyFetcher instance for the entire test class"""
|
||||
return PlayWrightFetcher(auto_match=False)
|
||||
return PlayWrightFetcher
|
||||
|
||||
@pytest.fixture(autouse=True)
|
||||
def setup_urls(self, httpbin):
|
||||
|
||||
Reference in New Issue
Block a user