aboutsummaryrefslogtreecommitdiff
path: root/src/tests/test_db.py
blob: 5830f7862c677dd3b424516fcc55a6d82d32dd41 (plain)
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