mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
more meaningful name for the public markers list
Signed-off-by: oleg.hoefling <oleg.hoefling@gmail.com>
This commit is contained in:
parent
35725f02d9
commit
3c3216fa40
@ -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)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user