mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
fix failing test
This commit is contained in:
parent
66b811b2a2
commit
74a1e14183
@ -29,7 +29,6 @@ def mock_bigchaindb_sign(monkeypatch):
|
|||||||
monkeypatch.setattr('bigchaindb.util.sign_tx', mockreturn)
|
monkeypatch.setattr('bigchaindb.util.sign_tx', mockreturn)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def test_temp_client_returns_a_temp_client():
|
def test_temp_client_returns_a_temp_client():
|
||||||
from bigchaindb.client import temp_client
|
from bigchaindb.client import temp_client
|
||||||
client = temp_client()
|
client = temp_client()
|
||||||
@ -37,6 +36,7 @@ def test_temp_client_returns_a_temp_client():
|
|||||||
assert client.private_key
|
assert client.private_key
|
||||||
|
|
||||||
|
|
||||||
|
@pytest.mark.usefixtures('restore_config')
|
||||||
def test_client_can_create_assets(mock_requests_post, client):
|
def test_client_can_create_assets(mock_requests_post, client):
|
||||||
from bigchaindb import util
|
from bigchaindb import util
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user