Skip to content

Commit

Permalink
(no-ticket) Use --nomigrations by default
Browse files Browse the repository at this point in the history
This shortens test setup time from 30sec to 1sec, yet the database
is correctly initialized by pytest-django using model definitions.

On Jenkins, --migrations is now specified explicitly.

Change-Id: I4421e3a4ea37f5383613b4daebcf0da680ce1d36
  • Loading branch information
accek committed May 31, 2018
1 parent 42e9f80 commit 620ed5e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pytest.ini
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ python_files =
python_functions =
addopts =
--html=test_report.html --css=test_report.css --self-contained-html
--nomigrations
filterwarnings =
ignore::django.utils.deprecation.RemovedInDjango110Warning
ignore:DateTimeField:RuntimeWarning

0 comments on commit 620ed5e

Please sign in to comment.