Skip to content

Commit ab23b71

Browse files
committed
tests(fetchers): Update tests to use the new argument naming
1 parent 0e1f3b9 commit ab23b71

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

tests/fetchers/async/test_camoufox.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ async def scroll_page(page):
7070
"os_randomize": True,
7171
"disable_ads": True,
7272
# "geoip": True,
73-
"custom_config": {"keep_comments": False, "keep_cdata": False},
73+
"selector_config": {"keep_comments": False, "keep_cdata": False},
7474
"additional_args": {"window": (1920, 1080)},
7575
},
7676
],

tests/fetchers/async/test_dynamic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ async def scroll_page(page):
6868
"useragent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:131.0) Gecko/20100101 Firefox/131.0",
6969
"cookies": [{"name": "test", "value": "123", "domain": "example.com", "path": "/"}],
7070
"network_idle": True,
71-
"custom_config": {"keep_comments": False, "keep_cdata": False},
71+
"selector_config": {"keep_comments": False, "keep_cdata": False},
7272
},
7373
],
7474
)

tests/fetchers/sync/test_camoufox.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def scroll_page(page):
6565
"os_randomize": True,
6666
"disable_ads": True,
6767
# "geoip": True,
68-
"custom_config": {"keep_comments": False, "keep_cdata": False},
68+
"selector_config": {"keep_comments": False, "keep_cdata": False},
6969
"additional_args": {"window": (1920, 1080)},
7070
},
7171
],

tests/fetchers/sync/test_dynamic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def scroll_page(page):
6666
"useragent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:131.0) Gecko/20100101 Firefox/131.0",
6767
"cookies": [{"name": "test", "value": "123", "domain": "example.com", "path": "/"}],
6868
"network_idle": True,
69-
"custom_config": {"keep_comments": False, "keep_cdata": False},
69+
"selector_config": {"keep_comments": False, "keep_cdata": False},
7070
},
7171
],
7272
)

0 commit comments

Comments
 (0)