Create example marker to avoid tests that require external domain
This commit is contained in:
parent
e1e5dd8b0d
commit
1f9891dcf5
3 changed files with 9 additions and 2 deletions
|
@ -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"')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue