Commit c189899e authored by Patrick Kimber's avatar Patrick Kimber

pytest config

parent 2a4b7619
[pytest]
addopts= --cov-report html --reuse-db
DJANGO_SETTINGS_MODULE = example_booking.dev_test
norecursedirs = .git venv-*
# 1. migrations always import models
# 2. custom settings files e.g. 'dev_patrick.py' do 'from .base import *'
# 3. 'test_view_perm.py' py.test fixtures conflict with pyflakes
flakes-ignore =
booking/migrations/* UnusedImport
example_booking/dev_*.py ImportStarUsed
test_view_perm.py UnusedImport RedefinedWhileUnused
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment