From 0ba92ab71bac15a1b3dbb0b82fbf22e4e81b8471 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Eckel?= Date: Tue, 10 Jan 2023 18:32:55 +0100 Subject: [PATCH] fixed object comparision issue MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jürgen Eckel --- tests/backend/tarantool/test_queries.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/backend/tarantool/test_queries.py b/tests/backend/tarantool/test_queries.py index 46a6f8c..733751d 100644 --- a/tests/backend/tarantool/test_queries.py +++ b/tests/backend/tarantool/test_queries.py @@ -50,7 +50,7 @@ def test_get_owned_ids(signed_create_tx, user_pk, db_conn): txns = query.get_owned_ids(connection=db_conn, owner=user_pk) tx_dict = signed_create_tx.to_dict() - owned_tx = DbTransaction.remove_generated_fields(txns[0].to_dict()) + owned_tx = txns[0].to_dict() assert owned_tx == tx_dict