test: use valid FNS upload workbooks
All checks were successful
CI/CD Pipeline / Quality Gate (push) Successful in 33s
CI/CD Pipeline / Build and Push Images (push) Successful in 17s
CI/CD Pipeline / Internal Notify (push) Successful in 1s
CI/CD Pipeline / Deploy Dev via Compose (push) Successful in 34s

This commit is contained in:
2026-08-04 23:35:07 +02:00
parent 1bc98796ab
commit 4da56f3823
2 changed files with 10 additions and 10 deletions

View File

@@ -81,11 +81,9 @@ def _build_fns_excel_bytes() -> bytes:
wb = Workbook()
ws = wb.active
year = fake.random_int(min=2020, max=2025)
ws.append(["Form", None, year, None])
ws.append([None, "Code", "Start", "End"])
ws.append(
[fake.word(), _digits(4), fake.random_int(10, 999), fake.random_int(10, 999)]
)
ws.append(["Форма №1", None, year, None])
ws.append([None, "Код", "Начало", "Конец"])
ws.append(["Баланс", "1600", fake.random_int(10, 999), fake.random_int(10, 999)])
buf = io.BytesIO()
wb.save(buf)
wb.close()