Fix test discovery by adding __init__.py files
This commit is contained in:
parent
afd17d257e
commit
75a9cc5ba8
@ -3,7 +3,7 @@ testpaths = tests
|
|||||||
python_files = test_*.py
|
python_files = test_*.py
|
||||||
python_classes = Test*
|
python_classes = Test*
|
||||||
python_functions = 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 =
|
markers =
|
||||||
slow: marks tests as slow (deselect with '-m "not slow"')
|
slow: marks tests as slow (deselect with '-m "not slow"')
|
||||||
integration: marks tests as integration tests
|
integration: marks tests as integration tests
|
||||||
|
2
src/__init__.py
Normal file
2
src/__init__.py
Normal 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
2
tests/__init__.py
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# This file is intentionally empty.
|
||||||
|
# It marks the tests directory as a Python package for test discovery.
|
Loading…
Reference in New Issue
Block a user