mirror of
https://github.com/planetmint/planetmint.git
synced 2025-11-24 06:25:45 +00:00
blackified
Signed-off-by: Jürgen Eckel <juergen@riddleandcode.com>
This commit is contained in:
parent
443ac1f6ad
commit
aedf42aa9d
@ -13,6 +13,7 @@ def test_get_connection_raises_a_configuration_error(monkeypatch):
|
||||
with pytest.raises(ConnectionError):
|
||||
TarantoolDBConnection("localhost", "1337", "mydb", "password")
|
||||
|
||||
|
||||
@pytest.mark.skip(reason="we currently do not suppport mongodb.")
|
||||
def test_get_connection_raises_a_configuration_error_mongodb(monkeypatch):
|
||||
from planetmint.backend.localmongodb.connection import LocalMongoDBConnection
|
||||
@ -20,4 +21,3 @@ def test_get_connection_raises_a_configuration_error_mongodb(monkeypatch):
|
||||
|
||||
with pytest.raises(ConnectionError):
|
||||
conn = LocalMongoDBConnection("localhost", "1337", "mydb", "password")
|
||||
|
||||
|
||||
@ -39,6 +39,7 @@ def config(request, monkeypatch):
|
||||
monkeypatch.setattr("planetmint.config", config)
|
||||
return config
|
||||
|
||||
|
||||
def test_bigchain_class_default_initialization(config):
|
||||
from planetmint import Planetmint
|
||||
from planetmint.validation import BaseValidationRules
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user