fix(tradein): add cian_proxy_url to test _mock_settings — unblock deploy (#923) #925

Merged
lekss361 merged 1 commit from fix/cian-proxy-test-mock into main 2026-05-31 19:34:42 +00:00
Showing only changes of commit b9690d4d63 - Show all commits

View file

@ -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,
)