Keep consolidated costs out of local estimates and group public updates

This commit is contained in:
anor
2026-12-02 17:57:32 +10:00
parent 8630b76a55
commit 7c55cb3d36
11 changed files with 118 additions and 39 deletions
+3 -1
View File
@@ -411,7 +411,9 @@ def test_пропавший_файл_цен_зоны_отказ_а_не_паде
def test_пометка_о_приморском_крае_не_выдаётся_самому_приморскому_краю(ec):
assert ec.calc_estimate(POS, {"region": "Приморский край"})["limits_note"] == ""
note = ec.calc_estimate(POS, {"region": "Приморский край"})["limits_note"]
assert "Нужен ли отдельный расчёт" in note
assert "Цены перевозок" not in note
assert "Приморскому краю" in ec.calc_estimate(POS, {"region": "г. Москва"})["limits_note"]