removed some comments and unsused import

Signed-off-by: Lorenz Herzberger <lorenzherzberger@gmail.com>
This commit is contained in:
Lorenz Herzberger 2022-07-12 15:53:44 +02:00
parent 08b3c44f83
commit 10f084768a
No known key found for this signature in database
GPG Key ID: FA5EE906EB55316A
3 changed files with 1 additions and 5 deletions

View File

@ -22,7 +22,6 @@ except ImportError:
import requests
import planetmint
from copy import deepcopy
from planetmint.config import Config
from planetmint import backend, config_utils, fastquery
from planetmint.models import Transaction

View File

@ -16,6 +16,7 @@ pytestmark = pytest.mark.bdb
def test_get_txids_filtered(signed_create_tx, signed_transfer_tx, db_conn):
from planetmint.backend.tarantool import query
from planetmint.models import Transaction
# create and insert two blocks, one for the create and one for the
# transfer transaction
create_tx_dict = signed_create_tx.to_dict()

View File

@ -118,11 +118,7 @@ def test_outputs_query_key_order(b, user_pk, user_sk, user2_pk, user2_sk):
assert len(outputs) == 1
# clean the transaction, metdata and asset collection
# conn = connect()
connection = connect()
# conn.run(conn.collection('transactions').delete_many({}))
# conn.run(conn.collection('metadata').delete_many({}))
# conn.run(conn.collection('assets').delete_many({}))
query.delete_transactions(connection, txn_ids=[tx1.id, tx2.id])
b.store_bulk_transactions([tx1])