diff --git a/bigchaindb/backend/localmongodb/connection.py b/bigchaindb/backend/localmongodb/connection.py index e1df9afe..ffdb84b6 100644 --- a/bigchaindb/backend/localmongodb/connection.py +++ b/bigchaindb/backend/localmongodb/connection.py @@ -2,7 +2,6 @@ # SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) # Code is Apache-2.0 and docs are CC-BY-4.0 -import time import logging from ssl import CERT_REQUIRED @@ -133,4 +132,4 @@ class LocalMongoDBConnection(Connection): MONGO_OPTS = { 'socketTimeoutMS': 20000, -} \ No newline at end of file +} diff --git a/tests/backend/localmongodb/test_connection.py b/tests/backend/localmongodb/test_connection.py index b46b08c5..9bb3d9aa 100644 --- a/tests/backend/localmongodb/test_connection.py +++ b/tests/backend/localmongodb/test_connection.py @@ -7,7 +7,6 @@ from unittest import mock import pytest import pymongo from pymongo import MongoClient -from pymongo.database import Database pytestmark = [pytest.mark.bdb, pytest.mark.tendermint]