Fix test discovery by adding __init__.py files

This commit is contained in:
Rbanh 2025-02-23 12:32:32 -05:00
parent afd17d257e
commit 75a9cc5ba8
3 changed files with 5 additions and 1 deletions

View File

@ -3,7 +3,7 @@ testpaths = tests
python_files = test_*.py
python_classes = Test*
python_functions = test_*
addopts = -v --tb=short -n 4 # Limit to 4 parallel workers
addopts = -v --tb=short -n 4 --import-mode=importlib
markers =
slow: marks tests as slow (deselect with '-m "not slow"')
integration: marks tests as integration tests

2
src/__init__.py Normal file
View File

@ -0,0 +1,2 @@
# This file is intentionally empty.
# It marks the src directory as a Python package.

2
tests/__init__.py Normal file
View File

@ -0,0 +1,2 @@
# This file is intentionally empty.
# It marks the tests directory as a Python package for test discovery.