chore: выпуск 2026-11-20d — пополнение счёта и чеки НПД
Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user