tests(fetchers): Update tests to use the new argument naming
This commit is contained in:
@@ -70,7 +70,7 @@ class TestStealthyFetcher:
|
|||||||
"os_randomize": True,
|
"os_randomize": True,
|
||||||
"disable_ads": True,
|
"disable_ads": True,
|
||||||
# "geoip": True,
|
# "geoip": True,
|
||||||
"custom_config": {"keep_comments": False, "keep_cdata": False},
|
"selector_config": {"keep_comments": False, "keep_cdata": False},
|
||||||
"additional_args": {"window": (1920, 1080)},
|
"additional_args": {"window": (1920, 1080)},
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -68,7 +68,7 @@ class TestDynamicFetcherAsync:
|
|||||||
"useragent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:131.0) Gecko/20100101 Firefox/131.0",
|
"useragent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:131.0) Gecko/20100101 Firefox/131.0",
|
||||||
"cookies": [{"name": "test", "value": "123", "domain": "example.com", "path": "/"}],
|
"cookies": [{"name": "test", "value": "123", "domain": "example.com", "path": "/"}],
|
||||||
"network_idle": True,
|
"network_idle": True,
|
||||||
"custom_config": {"keep_comments": False, "keep_cdata": False},
|
"selector_config": {"keep_comments": False, "keep_cdata": False},
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -65,7 +65,7 @@ class TestStealthyFetcher:
|
|||||||
"os_randomize": True,
|
"os_randomize": True,
|
||||||
"disable_ads": True,
|
"disable_ads": True,
|
||||||
# "geoip": True,
|
# "geoip": True,
|
||||||
"custom_config": {"keep_comments": False, "keep_cdata": False},
|
"selector_config": {"keep_comments": False, "keep_cdata": False},
|
||||||
"additional_args": {"window": (1920, 1080)},
|
"additional_args": {"window": (1920, 1080)},
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -66,7 +66,7 @@ class TestDynamicFetcher:
|
|||||||
"useragent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:131.0) Gecko/20100101 Firefox/131.0",
|
"useragent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:131.0) Gecko/20100101 Firefox/131.0",
|
||||||
"cookies": [{"name": "test", "value": "123", "domain": "example.com", "path": "/"}],
|
"cookies": [{"name": "test", "value": "123", "domain": "example.com", "path": "/"}],
|
||||||
"network_idle": True,
|
"network_idle": True,
|
||||||
"custom_config": {"keep_comments": False, "keep_cdata": False},
|
"selector_config": {"keep_comments": False, "keep_cdata": False},
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user