style(statements): form atting — test_header.py
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com> Claude-Session: cedd7915-2efe-41e5-988c-a9117033598b
This commit is contained in:
parent
b50ac38a73
commit
27ffde426a
@ -178,11 +178,13 @@ def test_inn_from_auditor_block_only_is_none(rules: Rules) -> None:
|
||||
[*at({2: "Наименование аудиторской организации"})],
|
||||
[*at({2: 'АО "АУДИТ-КОМПАНИЯ"'})],
|
||||
[
|
||||
*at({
|
||||
2: "Идентификационный номер налогоплательщика аудиторской организации",
|
||||
33: "ИНН",
|
||||
34: "9999999999",
|
||||
})
|
||||
*at(
|
||||
{
|
||||
2: "Идентификационный номер налогоплательщика аудиторской организации",
|
||||
33: "ИНН",
|
||||
34: "9999999999",
|
||||
}
|
||||
)
|
||||
],
|
||||
]
|
||||
)
|
||||
@ -208,11 +210,13 @@ def test_inn_from_auditor_above_organization_inn_line(rules: Rules) -> None:
|
||||
[*at({2: "Наименование аудиторской организации"})],
|
||||
[*at({2: 'АО "ЮНИКОН"'})],
|
||||
[
|
||||
*at({
|
||||
2: "Идентификационный номер налогоплательщика аудиторской организации",
|
||||
33: "ИНН",
|
||||
34: "7716021332",
|
||||
})
|
||||
*at(
|
||||
{
|
||||
2: "Идентификационный номер налогоплательщика аудиторской организации",
|
||||
33: "ИНН",
|
||||
34: "7716021332",
|
||||
}
|
||||
)
|
||||
],
|
||||
[*at({2: "Единица измерения", 7: "в тыс. рублей", 33: "по ОКЕИ", 34: "384"})],
|
||||
]
|
||||
@ -220,6 +224,6 @@ def test_inn_from_auditor_above_organization_inn_line(rules: Rules) -> None:
|
||||
|
||||
header, _ = parse_header(sheet, rules, 1, 8, _block(sheet, rules))
|
||||
|
||||
assert (
|
||||
header.inn == "1234567890"
|
||||
), f"Should pick organization INN 1234567890, not auditor INN 7716021332, got {header.inn}"
|
||||
assert header.inn == "1234567890", (
|
||||
f"Should pick organization INN 1234567890, not auditor INN 7716021332, got {header.inn}"
|
||||
)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user