mirror of https://github.com/interlegis/sigi.git
Marcio Mazza
10 years ago
1 changed files with 7 additions and 0 deletions
@ -1,2 +1,9 @@ |
|||
[pytest] |
|||
DJANGO_SETTINGS_MODULE=sigi.settings.test |
|||
|
|||
# REUSING DATABASE BY DEFAULT (as a performance optimization) |
|||
# http://pytest-django.readthedocs.org/en/latest/database.html#example-work-flow-with-reuse-db-and-create-db |
|||
# |
|||
# Run "py.test --create-db" if you need to recreate the database |
|||
# |
|||
addopts = --reuse-db |
|||
|
Loading…
Reference in new issue