chore: выпуск 2026-11-20d — пополнение счёта и чеки НПД

Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
anor
2026-11-20 23:14:14 +10:00
co-authored by Claude Code
parent f5c4da425b
commit 2117ced19b
3 changed files with 11 additions and 2 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ def test_dry_run_does_not_create(tmp_path, monkeypatch):
def test_topups_index_only_if_table_exists(tmp_path, monkeypatch):
db = _db(tmp_path, monkeypatch)
with sqlite3.connect(db) as c:
c.execute("CREATE TABLE topups (status TEXT, ts REAL)")
c.execute("CREATE TABLE IF NOT EXISTS topups (status TEXT, ts REAL)")
r = mig.run(db)
assert r["ok"] is True
assert "idx_topups_status_ts" in _indexes(db)