Update docs

This commit is contained in:
Bruno Oliveira 2022-12-02 12:05:14 -03:00
parent e3cb5d4f19
commit ec6062f298
2 changed files with 2 additions and 2 deletions

View File

@ -50,8 +50,8 @@ Conventions for Python test discovery
* In those directories, search for ``test_*.py`` or ``*_test.py`` files, imported by their `test package name`_. * In those directories, search for ``test_*.py`` or ``*_test.py`` files, imported by their `test package name`_.
* From those files, collect test items: * From those files, collect test items:
* ``test`` prefixed test functions or methods outside of class * ``test`` prefixed test functions or methods outside of class.
* ``test`` prefixed test functions or methods inside ``Test`` prefixed test classes (without an ``__init__`` method) * ``test`` prefixed test functions or methods inside ``Test`` prefixed test classes (without an ``__init__`` method). Methods decorated with ``@staticmethod`` and ``@classmethods`` are also considered.
For examples of how to customize your test discovery :doc:`/example/pythoncollection`. For examples of how to customize your test discovery :doc:`/example/pythoncollection`.