mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-05-14 18:23:14 +00:00
This adds a conftest.py module to setup the test infrastructure correctly. It doesn't yet add pytest and pytest-django to the testing requirements so for now it is completly optional. This change also updates the test_migrations testcase to use a regular TestCase baseclass instead of the TransactionTestCase. Otherwise the following tests fail with db errors.
14 lines
261 B
INI
14 lines
261 B
INI
[bdist_wheel]
|
|
universal = 1
|
|
|
|
[isort]
|
|
line_length=100
|
|
multi_line_output=4
|
|
skip=migrations
|
|
add_imports=from __future__ import absolute_import,from __future__ import unicode_literals
|
|
|
|
|
|
[pytest]
|
|
django_find_project = false
|
|
python_files=test_*.py
|
|
testpaths=wagtail
|