mirror of
https://github.com/planetmint/planetmint.git
synced 2025-11-24 14:35:45 +00:00
blackified tests
Signed-off-by: Jürgen Eckel <juergen@riddleandcode.com>
This commit is contained in:
parent
e018db93cb
commit
9dbcac96e2
@ -12,7 +12,6 @@ def test_get_connection_raises_a_configuration_error(monkeypatch):
|
|||||||
from planetmint.backend.tarantool.connection import TarantoolDBConnection
|
from planetmint.backend.tarantool.connection import TarantoolDBConnection
|
||||||
from transactions.common.exceptions import ConfigurationError
|
from transactions.common.exceptions import ConfigurationError
|
||||||
|
|
||||||
|
|
||||||
with pytest.raises(ConnectionError):
|
with pytest.raises(ConnectionError):
|
||||||
LocalMongoDBConnection("localhost", "1337", "mydb", "password")
|
LocalMongoDBConnection("localhost", "1337", "mydb", "password")
|
||||||
with pytest.raises(ConnectionError):
|
with pytest.raises(ConnectionError):
|
||||||
|
|||||||
@ -5,6 +5,7 @@
|
|||||||
|
|
||||||
|
|
||||||
import os
|
import os
|
||||||
|
|
||||||
# from unittest.mock import patch
|
# from unittest.mock import patch
|
||||||
# from planetmint.transactions.types.assets.create import Create
|
# from planetmint.transactions.types.assets.create import Create
|
||||||
# from planetmint.transactions.types.assets.transfer import Transfer
|
# from planetmint.transactions.types.assets.transfer import Transfer
|
||||||
|
|||||||
@ -4,6 +4,7 @@
|
|||||||
# Code is Apache-2.0 and docs are CC-BY-4.0
|
# Code is Apache-2.0 and docs are CC-BY-4.0
|
||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
# from unittest.mock import MagicMock, patch
|
# from unittest.mock import MagicMock, patch
|
||||||
# from planetmint.transactions.common import crypto
|
# from planetmint.transactions.common import crypto
|
||||||
# from planetmint.transactions.types.assets.create import Create
|
# from planetmint.transactions.types.assets.create import Create
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user