mirror of
https://github.com/planetmint/planetmint.git
synced 2025-11-25 15:05:49 +00:00
Fixed test_queries.py PASSED
This commit is contained in:
parent
a94946ef66
commit
4f880ce66f
@ -6,7 +6,7 @@
|
|||||||
from copy import deepcopy
|
from copy import deepcopy
|
||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
|
import tarantool
|
||||||
from planetmint.transactions.types.assets.create import Create
|
from planetmint.transactions.types.assets.create import Create
|
||||||
from planetmint.transactions.types.assets.transfer import Transfer
|
from planetmint.transactions.types.assets.transfer import Transfer
|
||||||
|
|
||||||
@ -22,7 +22,6 @@ 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()
|
||||||
@ -284,7 +283,6 @@ def test_get_spending_transactions_multiple_inputs(db_conn):
|
|||||||
def test_store_block(db_conn):
|
def test_store_block(db_conn):
|
||||||
from planetmint.lib import Block
|
from planetmint.lib import Block
|
||||||
from planetmint.backend.tarantool import query
|
from planetmint.backend.tarantool import query
|
||||||
|
|
||||||
block = Block(app_hash='random_utxo',
|
block = Block(app_hash='random_utxo',
|
||||||
height=3,
|
height=3,
|
||||||
transactions=[])
|
transactions=[])
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user