general: move reddit tests into my/tests + tweak my.core.cfg to be more reliable

This commit is contained in:
Dima Gerasimov 2023-05-26 00:34:24 +01:00 committed by karlicoss
parent fcfc423a75
commit f8cd31044e
21 changed files with 77 additions and 54 deletions

View file

@ -79,6 +79,13 @@ commands =
hpi module install my.reddit.rexport
{envpython} -m pytest \
# importlib is the new suggested import-mode
# without it test package names end up as core.tests.* instead of my.core.tests.*
--import-mode=importlib \
--pyargs my.tests \
{posargs}
{envpython} -m pytest tests \
# ignore some tests which might take a while to run on ci..
--ignore tests/takeout.py \