0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-29 17:36:49 +01:00
wagtail/setup.cfg
Michael van Tellingen d82e38e11e Implement support for using pytest (#2735)
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.
2016-06-17 15:06:21 +01:00

15 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