diff options
author | Dave Hunt <dave.hunt@gmail.com> | 2016-06-21 16:16:57 +0200 |
---|---|---|
committer | Dave Hunt <dave.hunt@gmail.com> | 2016-06-21 16:16:57 +0200 |
commit | ef9dd1496384cb703bf31a0788ea77bc4184faac (patch) | |
tree | 27b6f9583fd61900c88b6d4446a01dd5389834bc /doc/en/assert.rst | |
parent | 54872e94b4f3437cb0052a83970133722e79eadd (diff) | |
download | pytest-ef9dd1496384cb703bf31a0788ea77bc4184faac.tar.gz |
Introduce pytest command as recommended entry point
Fixes #1629
Diffstat (limited to 'doc/en/assert.rst')
-rw-r--r-- | doc/en/assert.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/en/assert.rst b/doc/en/assert.rst index d867dfa9a..03bcc8a3d 100644 --- a/doc/en/assert.rst +++ b/doc/en/assert.rst @@ -24,7 +24,7 @@ following:: to assert that your function returns a certain value. If this assertion fails you will see the return value of the function call:: - $ py.test test_assert1.py + $ pytest test_assert1.py ======= test session starts ======== platform linux -- Python 3.5.1, pytest-2.9.2, py-1.4.31, pluggy-0.3.1 rootdir: $REGENDOC_TMPDIR, inifile: @@ -168,7 +168,7 @@ when it encounters comparisons. For example:: if you run this module:: - $ py.test test_assert2.py + $ pytest test_assert2.py ======= test session starts ======== platform linux -- Python 3.5.1, pytest-2.9.2, py-1.4.31, pluggy-0.3.1 rootdir: $REGENDOC_TMPDIR, inifile: @@ -237,7 +237,7 @@ now, given this test module:: you can run the test module and get the custom output defined in the conftest file:: - $ py.test -q test_foocompare.py + $ pytest -q test_foocompare.py F ======= FAILURES ======== _______ test_compare ________ |