diff options
author | Bruno Oliveira <nicoddemus@gmail.com> | 2019-02-23 15:22:27 -0300 |
---|---|---|
committer | Bruno Oliveira <nicoddemus@gmail.com> | 2019-02-23 15:22:27 -0300 |
commit | 6a4c7063fdbcb20ce209ca566ede9366842f531c (patch) | |
tree | 6a7d6e1ecf4ad311a2fdb1531774e18694c19d26 /doc/en/goodpractices.rst | |
parent | 1cf9c2e76fd454d36c897ef43a350b0666363f50 (diff) | |
download | pytest-6a4c7063fdbcb20ce209ca566ede9366842f531c.tar.gz |
Fix docs about pytest conventions for test functions
Fix #4818
Diffstat (limited to 'doc/en/goodpractices.rst')
-rw-r--r-- | doc/en/goodpractices.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/en/goodpractices.rst b/doc/en/goodpractices.rst index ba79e71f4..f08bd5c40 100644 --- a/doc/en/goodpractices.rst +++ b/doc/en/goodpractices.rst @@ -42,8 +42,8 @@ Conventions for Python test discovery * In those directories, search for ``test_*.py`` or ``*_test.py`` files, imported by their `test package name`_. * From those files, collect test items: - * ``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 outside of class + * ``test`` prefixed test functions or methods inside ``Test`` prefixed test classes (without an ``__init__`` method) For examples of how to customize your test discovery :doc:`example/pythoncollection`. |