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