1 2 3 4 5 6 7 8
import pytest from lb_app.app_db.db import MongoDB def test_get_close_db(app): with app.app_context(): db = MongoDB(app) assert type(db) is MongoDB