We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88d2983 commit f143317Copy full SHA for f143317
packages/postgres-database/tests/test_models_payments_transactions.py
@@ -3,6 +3,7 @@
3
# pylint: disable=unexpected-keyword-arg
4
# pylint: disable=unused-argument
5
# pylint: disable=unused-variable
6
+# pytlin: disable=protected-access
7
8
import decimal
9
from collections.abc import Callable
@@ -101,7 +102,7 @@ async def test_init_transaction_sets_it_as_pending(
101
102
assert row is not None
103
104
# tests that defaults are right?
- assert dict(row._mapping.items()) == {
105
+ assert row._asdict() == {
106
"completed_at": None,
107
"state": PaymentTransactionState.PENDING,
108
"state_message": None,
0 commit comments