fix(scraper-kit): бедный re-scrape больше не стирает признаки продавца #3067

Merged
lekss361 merged 3 commits from fix/yandex-seller-fields-erosion into main 2026-08-23 21:52:38 +00:00
Showing only changes of commit 0cce97bd75 - Show all commits

View file

@ -111,7 +111,8 @@ def test_unchanged_gate_mirrors_the_set_clause() -> None:
f"кортежи гейта разной длины: слева {len(left)}, справа {len(right)}"
"сравнение поехало бы по колонкам молча"
)
for i, (lhs, rhs) in enumerate(zip(left, right)):
# strict=True безопасен: равенство длин уже проверено assert выше.
for i, (lhs, rhs) in enumerate(zip(left, right, strict=True)):
column = lhs.split(".")[-1]
if column == "is_active":
continue # SET пишет литерал true, справа он же — намеренно