Keep consolidated costs out of local estimates and group public updates
This commit is contained in:
@@ -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"]
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user