Create example marker to avoid tests that require external domain

This commit is contained in:
Jim Fingal
2020-11-08 13:07:37 -08:00
parent e1e5dd8b0d
commit 1f9891dcf5
3 changed files with 9 additions and 2 deletions

View File

@ -1,4 +1,6 @@
[pytest]
DJANGO_SETTINGS_MODULE = bookwyrm.settings
python_files = tests.py test_*.py *_tests.py
addopts = --cov=bookwyrm --cov-config=.coveragerc
addopts = --cov=bookwyrm --cov-config=.coveragerc
markers =
integration: marks tests as requiring external resources (deselect with '-m "not integration"')