Skip to content

Commit f143317

Browse files
committed
fixes pylint
1 parent 88d2983 commit f143317

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/postgres-database/tests/test_models_payments_transactions.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
# pylint: disable=unexpected-keyword-arg
44
# pylint: disable=unused-argument
55
# pylint: disable=unused-variable
6+
# pytlin: disable=protected-access
67

78
import decimal
89
from collections.abc import Callable
@@ -101,7 +102,7 @@ async def test_init_transaction_sets_it_as_pending(
101102
assert row is not None
102103

103104
# tests that defaults are right?
104-
assert dict(row._mapping.items()) == {
105+
assert row._asdict() == {
105106
"completed_at": None,
106107
"state": PaymentTransactionState.PENDING,
107108
"state_message": None,

0 commit comments

Comments
 (0)