change markers list name to DEFAULT_ENABLED_MARKERS

Signed-off-by: oleg.hoefling <oleg.hoefling@gmail.com>
This commit is contained in:
oleg.hoefling 2020-10-25 18:34:47 +01:00
parent 30f3ac6fe7
commit 72397f6dce
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
DEFAULT_MARKERS = [
DEFAULT_ENABLED_MARKERS = [
(
'sphinx(builder, testroot=None, freshenv=False, confoverrides=None, tags=None,'
' docutilsconf=None, parallel=0): arguments to initialize the sphinx test application.'
@ -33,7 +33,7 @@ DEFAULT_MARKERS = [
def pytest_configure(config):
# register custom markers
for marker in DEFAULT_MARKERS:
for marker in DEFAULT_ENABLED_MARKERS:
config.addinivalue_line('markers', marker)