-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add pytest config, add hack for reddit tests
- Loading branch information
Showing
2 changed files
with
13 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# ugh. workaround for https://github.com/pytest-dev/pytest/issues/1927 | ||
from my.reddit import * |