fix(tradein): add cian_proxy_url to test _mock_settings — unblock deploy (#923) #925
1 changed files with 4 additions and 0 deletions
|
|
@ -28,6 +28,10 @@ def _mock_settings(
|
|||
"""Minimal settings stand-in with fields read by proxy helpers and scraper __aenter__."""
|
||||
return SimpleNamespace(
|
||||
scraper_proxy_url=scraper_proxy_url,
|
||||
# Cian scrapers read settings.cian_proxy_url (property: CIAN_PROXY_URL or
|
||||
# scraper_proxy_url fallback). Mirror scraper_proxy_url here so the existing
|
||||
# cian proxy-wiring assertions keep passing (#923 follow-up).
|
||||
cian_proxy_url=scraper_proxy_url,
|
||||
yandex_cookies_file=yandex_cookies_file,
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue