Skip to content

Commit c020396

Browse files
committed
tests: Discover pytest tests only in tests/
We only run the tests in `tests/` as part of our test suite, and so if any external contributor wants to run our test suite, this is what `pytest` should discover by default. Signed-off-by: Matt Wozniski <[email protected]>
1 parent 42d81b8 commit c020396

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,3 +108,4 @@ show_missing = true
108108
# pytest retains all temp files from the last 3 test suite runs by default.
109109
# Keep only ones for failed tests to avoid filling up a disk.
110110
tmp_path_retention_policy = "failed"
111+
testpaths = ["tests"]

0 commit comments

Comments
 (0)