mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
Merge pull request #687 from bigchaindb/bug/251/remove-unnecessary-test
Remove unnecessary test
This commit is contained in:
commit
cbece9df67
@ -94,15 +94,3 @@ def test_transaction_exists(monkeypatch, items, exists):
|
|||||||
RqlQuery, 'run', lambda x, y: namedtuple('response', 'items')(items))
|
RqlQuery, 'run', lambda x, y: namedtuple('response', 'items')(items))
|
||||||
bigchain = Bigchain(public_key='pubkey', private_key='privkey')
|
bigchain = Bigchain(public_key='pubkey', private_key='privkey')
|
||||||
assert bigchain.transaction_exists('txid') is exists
|
assert bigchain.transaction_exists('txid') is exists
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.skip(reason='until tim decides')
|
|
||||||
def test_write_transaction_no_sideffects(b):
|
|
||||||
from rethinkdb.errors import ReqlOpFailedError
|
|
||||||
transaction = {'id': 'abc'}
|
|
||||||
expected = {'id': 'abc'}
|
|
||||||
with pytest.raises(ReqlOpFailedError):
|
|
||||||
b.write_transaction(transaction)
|
|
||||||
assert transaction == expected
|
|
||||||
with pytest.raises(KeyError):
|
|
||||||
transaction['assignee']
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user