diff --git a/pytest.ini b/pytest.ini new file mode 100644 index 0000000..bb16ae2 --- /dev/null +++ b/pytest.ini @@ -0,0 +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... +python_files = reddit.py +addopts = + --verbose + + # otherwise it won't discover doctests + # eh? importing too much + # --doctest-modules diff --git a/tests/reddit.py b/tests/reddit.py new file mode 100644 index 0000000..30f2353 --- /dev/null +++ b/tests/reddit.py @@ -0,0 +1,2 @@ +# ugh. workaround for https://github.com/pytest-dev/pytest/issues/1927 +from my.reddit import *