feat(пополнение): сторож check_topups и check_npd_year_income, строка в утренней сводке
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -123,5 +123,6 @@ def test_daily_digest_topup_line(env):
|
||||
db.refund_topup(tid, 30_000, "admin")
|
||||
_topup(db, "canceled")
|
||||
_topup(db, "succeeded", age=3 * 86400)
|
||||
_topup(db, "canceled", age=3 * 86400)
|
||||
text = dd.render(dd.collect(24))
|
||||
assert "Пополнений за сутки: 1 на 1 000 ₽; возвратов 1; неоплаченных 1" in text
|
||||
|
||||
Reference in New Issue
Block a user