Skip to content

Commit 4aa2867

Browse files
authored
Fix custom label doc: "allure-labels" -> "allure-label" (allure-framework#748)
1 parent 74b5733 commit 4aa2867

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

allure-pytest/examples/label/custom/select_tests_by_label.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
Select test by label
22
-----------------------------
33

4-
By using ``--allure-labels`` commandline option with a ``lablel_name=label1,label2`` format, only tests with
4+
By using ``--allure-label`` commandline option with a ``lablel_name=label1,label2`` format, only tests with
55
corresponding labels will be run.
66

77

88
For example, if you want to run tests with label 'Application' equals to 'desktop' or 'mobile' only,
9-
run pytest with ``--allure-labels Application=desktop,mobile`` option.
9+
run pytest with ``--allure-label Application=desktop,mobile`` option.
1010

11-
To filter tests with several different labels multiple ``--allure-labels`` options can be specified:
11+
To filter tests with several different labels multiple ``--allure-label`` options can be specified:
1212

13-
``--allure-labels Application=desktop,mobile --allure-labels layer=api``
13+
``--allure-label Application=desktop,mobile --allure-label layer=api``
1414

1515
>>> import allure
1616

0 commit comments

Comments
 (0)