Skip to content

Commit c352ad5

Browse files
committed
updates README
1 parent deab7fb commit c352ad5

File tree

1 file changed

+24
-1
lines changed

1 file changed

+24
-1
lines changed

README.rst

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ Example of use in a django project:
9292
--echo-env DBENGINE
9393
--echo-version django
9494
--echo-version pip
95-
--echo-version pytest_echo
95+
--echo-version pytest-echo
9696
--echo-attr django.conf.settings.DATABASES.default.ENGINE
9797
9898
@@ -118,6 +118,29 @@ Example of use in a django project:
118118
.............
119119
14 passed in 4.95 seconds
120120
121+
122+
Globbing
123+
~~~~~~~~
124+
125+
Starting from version 1.5, is possible to glob packages version and environment variables,
126+
as:
127+
128+
.. code-block:: sh
129+
130+
$ py.test --echo-version=pytest-* --echo-env=VIRTUAL*
131+
132+
or
133+
134+
.. code-block:: inifile
135+
136+
[pytest]
137+
addopts = -vvv
138+
--echo-env VIRTUAL*
139+
--echo-version pytest-*
140+
141+
142+
143+
121144
Links
122145
~~~~~
123146

0 commit comments

Comments
 (0)