diff --git a/tests/backend/test_connection.py b/tests/backend/test_connection.py index 5dc3f42..94e7615 100644 --- a/tests/backend/test_connection.py +++ b/tests/backend/test_connection.py @@ -13,11 +13,11 @@ 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 from transactions.common.exceptions import ConfigurationError with pytest.raises(ConnectionError): - conn = LocalMongoDBConnection("localhost", "1337", "mydb", "password") - + conn = LocalMongoDBConnection("localhost", "1337", "mydb", "password") diff --git a/tests/test_core.py b/tests/test_core.py index 3e76eb4..52a66d5 100644 --- a/tests/test_core.py +++ b/tests/test_core.py @@ -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