fix db fixture for model tests

master
allexeye 9 years ago
parent 6cc5b4c862
commit 1bd13c7e5b
  1. 2
      {{cookiecutter.app_name}}/tests/conftest.py

@ -38,6 +38,8 @@ def db(app):
yield _db
# Explicitly close DB connection
_db.session.close()
_db.drop_all()

Loading…
Cancel
Save