fix: improve subscription email renewal flow

This commit is contained in:
3252a8
2026-05-30 00:23:53 +03:00
parent 49781af921
commit 09be82aad5
14 changed files with 352 additions and 38 deletions
+1 -3
View File
@@ -88,9 +88,7 @@ class TariffWorkerTests(unittest.IsolatedAsyncioTestCase):
super().__init__("wrapped")
self.orig = orig
self.assertTrue(
TariffTrafficWorker._is_retryable_db_exception(WrappedDbError(PgError()))
)
self.assertTrue(TariffTrafficWorker._is_retryable_db_exception(WrappedDbError(PgError())))
self.assertFalse(TariffTrafficWorker._is_retryable_db_exception(RuntimeError("plain")))
async def test_period_tariff_uses_panel_month_strategy_without_resetting(self):