Skip to content

Commit af3ec39

Browse files
committed
Only run tests from the tests directory
This fixes the nightly Wagtail tests, which clone the Wagtail repo in our source tree, and pytest mistakenly tries to run Wagtail's tests.
1 parent 0808806 commit af3ec39

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,3 +67,6 @@ lint.select = [
6767
django_find_project = false
6868
pythonpath = "."
6969
DJANGO_SETTINGS_MODULE = "tests.settings"
70+
testpaths = [
71+
"tests",
72+
]

0 commit comments

Comments
 (0)