Merge pull request #57 from allexeye/fix_db_fixture_generator

fix db fixture for model tests
master
Steven Loria 9 years ago
commit d9c38e9e6b
  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