mirror of
https://github.com/planetmint/planetmint.git
synced 2025-06-10 16:16:40 +00:00
removed comments and unused import (#204)
* updated version number to 1.0.0 Signed-off-by: Lorenz Herzberger <lorenzherzberger@gmail.com> * version bumpt Signed-off-by: Lorenz Herzberger <lorenzherzberger@gmail.com> * removed some comments and unsused import Signed-off-by: Lorenz Herzberger <lorenzherzberger@gmail.com>
This commit is contained in:
parent
f7f5d2107f
commit
6dc855d327
@ -22,7 +22,6 @@ except ImportError:
|
|||||||
import requests
|
import requests
|
||||||
|
|
||||||
import planetmint
|
import planetmint
|
||||||
from copy import deepcopy
|
|
||||||
from planetmint.config import Config
|
from planetmint.config import Config
|
||||||
from planetmint import backend, config_utils, fastquery
|
from planetmint import backend, config_utils, fastquery
|
||||||
from planetmint.models import Transaction
|
from planetmint.models import Transaction
|
||||||
|
@ -16,6 +16,7 @@ pytestmark = pytest.mark.bdb
|
|||||||
def test_get_txids_filtered(signed_create_tx, signed_transfer_tx, db_conn):
|
def test_get_txids_filtered(signed_create_tx, signed_transfer_tx, db_conn):
|
||||||
from planetmint.backend.tarantool import query
|
from planetmint.backend.tarantool import query
|
||||||
from planetmint.models import Transaction
|
from planetmint.models import Transaction
|
||||||
|
|
||||||
# create and insert two blocks, one for the create and one for the
|
# create and insert two blocks, one for the create and one for the
|
||||||
# transfer transaction
|
# transfer transaction
|
||||||
create_tx_dict = signed_create_tx.to_dict()
|
create_tx_dict = signed_create_tx.to_dict()
|
||||||
|
@ -118,11 +118,7 @@ def test_outputs_query_key_order(b, user_pk, user_sk, user2_pk, user2_sk):
|
|||||||
assert len(outputs) == 1
|
assert len(outputs) == 1
|
||||||
|
|
||||||
# clean the transaction, metdata and asset collection
|
# clean the transaction, metdata and asset collection
|
||||||
# conn = connect()
|
|
||||||
connection = 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])
|
query.delete_transactions(connection, txn_ids=[tx1.id, tx2.id])
|
||||||
|
|
||||||
b.store_bulk_transactions([tx1])
|
b.store_bulk_transactions([tx1])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user