Skip to content

Commit f9d7c54

Browse files
committed
Some documentation updates in Section Using pytest-dependency.
1 parent 4aeb566 commit f9d7c54

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

doc/src/usage.rst

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,12 @@ Naming tests
4343

4444
Tests are referenced by their name in the `depends` argument. The
4545
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:
5352

5453
.. literalinclude:: ../examples/named.py
5554

0 commit comments

Comments
 (0)