Skip to content

Commit

Permalink
Only run tests from the tests directory
Browse files Browse the repository at this point in the history
This fixes the nightly Wagtail tests, which clone the Wagtail repo in
our source tree, and pytest mistakenly tries to run Wagtail's tests.
  • Loading branch information
mgax committed Oct 23, 2024
1 parent 0808806 commit af3ec39
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,6 @@ lint.select = [
django_find_project = false
pythonpath = "."
DJANGO_SETTINGS_MODULE = "tests.settings"
testpaths = [
"tests",
]

0 comments on commit af3ec39

Please sign in to comment.