Merge pull request #4433 from 3lnc/doc_explicit_multimarker

Adds note on multiple module marker usage
This commit is contained in:
Bruno Oliveira 2018-11-21 20:51:29 -02:00 committed by GitHub
commit 3eaa6d8835
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 2 deletions

View File

@ -271,8 +271,12 @@ You can also set a module level marker::
import pytest
pytestmark = pytest.mark.webtest
in which case it will be applied to all functions and
methods defined in the module.
or multiple markers::
pytestmark = [pytest.mark.webtest, pytest.mark.slowtest]
in which case markers will be applied (in left-to-right order) to
all functions and methods defined in the module.
.. _`marking individual tests when using parametrize`: