remove test from test_core.py which is just wrong

This commit is contained in:
Scott Sadler 2017-02-23 18:56:39 +01:00
parent 7fd1de696c
commit ff7e4d11d1

View File

@ -80,16 +80,6 @@ def test_get_blocks_status_containing_tx(monkeypatch):
bigchain.get_blocks_status_containing_tx('txid')
def test_has_previous_vote(monkeypatch):
from bigchaindb.core import Bigchain
monkeypatch.setattr(
'bigchaindb.utils.verify_vote_signature', lambda voters, vote: False)
bigchain = Bigchain(public_key='pubkey', private_key='privkey')
block = {'votes': ({'node_pubkey': 'pubkey'},)}
with pytest.raises(Exception):
bigchain.has_previous_vote(block)
@pytest.mark.parametrize('exists', (True, False))
def test_transaction_exists(monkeypatch, exists):
from bigchaindb.core import Bigchain