File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ Dump environment variables
33
33
34
34
.. code-block :: sh
35
35
36
- $ py.test --echo-env=HOME
36
+ $ pytest --echo-env=HOME
37
37
============================= test session starts =========================
38
38
platform linux2 -- Python 2.7.4 -- py-1.4.22 -- pytest-2.6.0 -- /bin/python
39
39
Environment:
@@ -46,7 +46,7 @@ Dump package version
46
46
47
47
.. code-block :: sh
48
48
49
- $ py.test --echo-version=pytest_echo
49
+ $ pytest --echo-version=pytest_echo
50
50
============================= test session starts =========================
51
51
platform linux2 -- Python 2.7.4 -- py-1.4.22 -- pytest-2.6.0 -- /bin/python
52
52
Package version:
@@ -65,7 +65,7 @@ Dump attributes
65
65
66
66
.. code-block :: sh
67
67
68
- $ py.test --echo-attr=django.conf.settings.DEBUG
68
+ $ pytest --echo-attr=django.conf.settings.DEBUG
69
69
============================= test session starts =========================
70
70
platform linux2 -- Python 2.7.4 -- py-1.4.22 -- pytest-2.6.0 -- /bin/python
71
71
Inspections
@@ -102,7 +102,7 @@ Example of use in a django project:
102
102
103
103
.. code-block :: sh
104
104
105
- $ py.test
105
+ $ pytest
106
106
============================= test session starts =========================
107
107
platform linux2 -- Python 2.7.4 -- py-1.4.22 -- pytest-2.6.0 -- /bin/python
108
108
Environment:
130
130
131
131
.. code-block :: sh
132
132
133
- $ py.test --echo-version=pytest-* --echo-env=VIRTUAL*
133
+ $ pytest --echo-version=pytest-* --echo-env=VIRTUAL*
134
134
135
135
or
136
136
Original file line number Diff line number Diff line change 15
15
16
16
commands =
17
17
pip install -e .
18
- coverage run -m py.test -vv test_echo.py pytest_echo.py
18
+ coverage run -m pytest -vv test_echo.py pytest_echo.py
19
19
coverage report
20
20
coverage html
21
21
You can’t perform that action at this time.
0 commit comments