Changeset - 7187c1707eda
default
2
1
2
tests: restrict pytest test collection to kallithea/tests
When the kallithea root directory contains a populated virtualenv, pytest
would also collect tests in python packages installed there.
Restrict the tests to be considered to any test_*.py file inside
kallithea/tests.
Additionally, by renaming unwanted test files in kallithea/tests/scripts to
_not_ match this pattern, we can completely get rid of the 'norecursedirs'
option.
When the kallithea root directory contains a populated virtualenv, pytest
would also collect tests in python packages installed there.
Restrict the tests to be considered to any test_*.py file inside
kallithea/tests.
Additionally, by renaming unwanted test files in kallithea/tests/scripts to
_not_ match this pattern, we can completely get rid of the 'norecursedirs'
option.
3 files changed with 2 insertions and 1 deletions:
0 comments (0 inline, 0 general)
file renamed from kallithea/tests/scripts/test_concurency.py to kallithea/tests/scripts/manual_test_concurrency.py |
||
file renamed from kallithea/tests/scripts/test_crawler.py to kallithea/tests/scripts/manual_test_crawler.py |
||
0 comments (0 inline, 0 general)