tests: run all tests, but exclude tests specific to my computer from CI

controllable via HPI_TESTS_KARLICOSS=true
This commit is contained in:
Dima Gerasimov 2021-02-14 17:31:44 +00:00
parent 6239879245
commit 1d09d0d1ab
21 changed files with 93 additions and 72 deletions

View file

@ -1,12 +1,11 @@
[pytest]
# for now, running with with_my pytest tests/reddit.py
# discover __init__,py as well
# TODO also importing too much with it...
# TODO FIXME wtf is this??
python_files = reddit.py
# discover files that don't follow test_ naming. Useful to keep tests along with the source code
python_files = *.py
addopts =
-rap
--verbose
# TODO hmm, not sure... guess it makes sense considering all the ext modules..
--continue-on-collection-errors
# otherwise it won't discover doctests
# eh? importing too much
# --doctest-modules