Skip to content

Commit 69a30bb

Browse files
committed
Configure default test path
1 parent 2a3799f commit 69a30bb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pyproject.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,12 +308,14 @@ minversion = "7.4"
308308
addopts = "--benchmark-disable"
309309
# Deactivate default name pattern for test classes (we use pytest_describe).
310310
python_classes = "PyTest*"
311-
# Handle all async fixtures and tests automatically by asyncio
311+
# Handle all async fixtures and tests automatically by asyncio,
312312
asyncio_mode = "auto"
313313
# Set a timeout in seconds for aborting tests that run too long.
314314
timeout = "100"
315315
# Ignore config options not (yet) available in older Python versions.
316316
filterwarnings = "ignore::pytest.PytestConfigWarning"
317+
# All tests can be found in the tests directory.
318+
testpaths = ["tests"]
317319

318320
[build-system]
319321
requires = ["poetry_core>=1.6.1,<2"]

0 commit comments

Comments
 (0)