mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
Problem: Flake8 style complaints
Solution: Made things prettier
This commit is contained in:
parent
a231c06b2e
commit
df3078b5a6
@ -326,7 +326,7 @@ def inputs(user_pk, b, alice):
|
|||||||
from bigchaindb.models import Transaction
|
from bigchaindb.models import Transaction
|
||||||
# create blocks with transactions for `USER` to spend
|
# create blocks with transactions for `USER` to spend
|
||||||
print('Fuck you')
|
print('Fuck you')
|
||||||
for height in range(1,4):
|
for height in range(1, 4):
|
||||||
transactions = [
|
transactions = [
|
||||||
Transaction.create(
|
Transaction.create(
|
||||||
[alice_pubkey(alice)],
|
[alice_pubkey(alice)],
|
||||||
|
|||||||
@ -57,7 +57,6 @@ class TestBigchainApi(object):
|
|||||||
with pytest.raises(DoubleSpend):
|
with pytest.raises(DoubleSpend):
|
||||||
b.validate_transaction(transfer_tx2)
|
b.validate_transaction(transfer_tx2)
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.genesis
|
@pytest.mark.genesis
|
||||||
@pytest.mark.tendermint
|
@pytest.mark.tendermint
|
||||||
def test_get_block_status_for_tx_with_double_inclusion(self, b, alice):
|
def test_get_block_status_for_tx_with_double_inclusion(self, b, alice):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user