File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -43,13 +43,12 @@ Naming tests
43
43
44
44
Tests are referenced by their name in the `depends ` argument. The
45
45
default for this name is the node id defined by pytest, that is the
46
- name of the test function, extended by the parameters if applicable.
47
- In some cases, it's not easy to predict the names of the node ids.
48
- For this reason, the name of the tests can be overridden by an
49
- explicit `name ` argument to the marker. The names must be unique in
50
- the scope, which is currently the test module. The following example
51
- works exactly as the last one, only the test names are explicitely
52
- set:
46
+ name of the test function, extended by the parameters if applicable,
47
+ see Section :ref: `names ` for details. In some cases, it's not easy to
48
+ predict the names of the node ids. For this reason, the name of the
49
+ tests can be overridden by an explicit `name ` argument to the marker.
50
+ The names must be unique. The following example works exactly as the
51
+ last one, only the test names are explicitely set:
53
52
54
53
.. literalinclude :: ../examples/named.py
55
54
You can’t perform that action at this time.
0 commit comments