fix(tradein): чинит main-red — патч _geoportal_house_match в cadastral-тесте (хвост #1786) #1787
1 changed files with 2 additions and 0 deletions
|
|
@ -353,6 +353,8 @@ async def test_geocode_uses_cadastral_before_yandex() -> None:
|
||||||
|
|
||||||
with (
|
with (
|
||||||
patch("app.services.geocoder._cache_get", return_value=None),
|
patch("app.services.geocoder._cache_get", return_value=None),
|
||||||
|
# geoportal house-match (new primary local tier) misses → cadastral path exercised
|
||||||
|
patch("app.services.geocoder._geoportal_house_match", return_value=None),
|
||||||
# anchored house-match (new primary cadastral step) misses → legacy forward used
|
# anchored house-match (new primary cadastral step) misses → legacy forward used
|
||||||
patch("app.services.geocoder._cadastral_house_match", return_value=None),
|
patch("app.services.geocoder._cadastral_house_match", return_value=None),
|
||||||
patch(
|
patch(
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue