]> git.ipfire.org Git - thirdparty/jinja.git/commit
Register custom test category markers.
authorRalph Giles <giles@thaumas.net>
Thu, 4 Jul 2019 20:24:51 +0000 (13:24 -0700)
committerDavid Lord <davidism@gmail.com>
Sat, 20 Jul 2019 20:53:54 +0000 (13:53 -0700)
commitc61b366c02de34da90695ff57592d3fda90ac207
tree63e8bf3765b134f2ad21f468f58b936b573eb1a1
parent94cecd4892a401dfe57387ed1171867335693b07
Register custom test category markers.

Since around pytest 3.6 it's been possible to register custom
markers, and since version 4.5.0 pytest warns about any which
are not registered. Register a list of such markers, extracted
from those warnings, so they don't clutter the test output.
tests/conftest.py