mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
Import Transaction class within fixture
This commit is contained in:
parent
75dd645ec9
commit
e614834a03
@ -8,11 +8,10 @@ from unittest.mock import patch
|
||||
|
||||
import pytest
|
||||
|
||||
from bigchaindb.models import Transaction
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def _block(b, request):
|
||||
from bigchaindb.models import Transaction
|
||||
total = getattr(request, 'param', 1)
|
||||
transactions = [
|
||||
Transaction.create(
|
||||
|
Loading…
x
Reference in New Issue
Block a user