Skip to content

Commit

Permalink
Declare custom test markers
Browse files Browse the repository at this point in the history
Pytest needs us to declare custom test markers,
otherwise warnings are thrown when running tests like:

* PytestUnknownMarkWarning: Unknown pytest.mark.converter (...)
* PytestUnknownMarkWarning: Unknown pytest.mark.integration (...)

We could add custom descriptions but I opted not to
here for simplicity.

Signed-off-by: Sam James (sam_c) <sam@cmpct.info>
  • Loading branch information
thesamesam authored and ptrcnull committed Jan 22, 2024
1 parent 160ea63 commit bea94ab
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pytest.ini
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,6 @@ flakes-ignore =
docs/conf.py ALL
subliminal/__init__.py UnusedImport
doctest_optionflags = NORMALIZE_WHITESPACE IGNORE_EXCEPTION_DETAIL
markers =
integration
converter

0 comments on commit bea94ab

Please sign in to comment.