diff options
author | neodarz <neodarz@neodarz.net> | 2018-06-16 17:52:31 +0200 |
---|---|---|
committer | neodarz <neodarz@neodarz.net> | 2018-06-16 17:52:31 +0200 |
commit | 5bcc1ed9df4e7a6b8086cac3f25a466aee3bebcd (patch) | |
tree | f4e72ed3712a148a28a0c11323f1796f7499a336 /src/tests/test_db.py | |
parent | cf29b5d4324b03d826615cfbb7f7345c54da1762 (diff) | |
download | liberationCenter-5bcc1ed9df4e7a6b8086cac3f25a466aee3bebcd.tar.xz liberationCenter-5bcc1ed9df4e7a6b8086cac3f25a466aee3bebcd.zip |
Add first structure of the application
Diffstat (limited to '')
-rw-r--r-- | src/tests/test_db.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/tests/test_db.py b/src/tests/test_db.py new file mode 100644 index 0000000..5830f78 --- /dev/null +++ b/src/tests/test_db.py @@ -0,0 +1,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 |