Skip to content

Commit

Permalink
feat(test): Add only pytest marker (#852)
Browse files Browse the repository at this point in the history
This adds a pytest marker similar to `it.only` in jest.
  • Loading branch information
lobsterkatie committed Oct 12, 2020
1 parent 91c7a8f commit a7f7e2a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pytest.ini
@@ -1,4 +1,6 @@
[pytest]
DJANGO_SETTINGS_MODULE = tests.integrations.django.myapp.settings
addopts = --tb=short
markers = tests_internal_exceptions
markers =
tests_internal_exceptions
only: A temporary marker, to make pytest only run the tests with the mark, similar to jest's `it.only`. To use, run `pytest -v -m only`.

0 comments on commit a7f7e2a

Please sign in to comment.