more meaningful name for the public markers list

Signed-off-by: oleg.hoefling <oleg.hoefling@gmail.com>
This commit is contained in:
oleg.hoefling 2020-10-25 11:36:40 +01:00
parent 35725f02d9
commit 3c3216fa40
No known key found for this signature in database
GPG Key ID: 0F2974E780119EEA

View File

@ -22,7 +22,7 @@ from sphinx.testing import util
from sphinx.testing.util import SphinxTestApp, SphinxTestAppWrapperForSkipBuilding from sphinx.testing.util import SphinxTestApp, SphinxTestAppWrapperForSkipBuilding
markers = [ PUBLIC_MARKERS = [
( (
'sphinx(builder, testroot=None, freshenv=False, confoverrides=None, tags=None,' 'sphinx(builder, testroot=None, freshenv=False, confoverrides=None, tags=None,'
' docutilsconf=None, parallel=0): arguments to initialize the sphinx test application.' ' docutilsconf=None, parallel=0): arguments to initialize the sphinx test application.'
@ -33,7 +33,7 @@ markers = [
def pytest_configure(config): def pytest_configure(config):
# register custom markers # register custom markers
for marker in markers: for marker in PUBLIC_MARKERS:
config.addinivalue_line('markers', marker) config.addinivalue_line('markers', marker)