File tree Expand file tree Collapse file tree 1 file changed +24
-1
lines changed Expand file tree Collapse file tree 1 file changed +24
-1
lines changed Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ Example of use in a django project:
92
92
--echo-env DBENGINE
93
93
--echo-version django
94
94
--echo-version pip
95
- --echo-version pytest_echo
95
+ --echo-version pytest-echo
96
96
--echo-attr django.conf.settings.DATABASES.default.ENGINE
97
97
98
98
@@ -118,6 +118,29 @@ Example of use in a django project:
118
118
.............
119
119
14 passed in 4.95 seconds
120
120
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
+
121
144
Links
122
145
~~~~~
123
146
You can’t perform that action at this time.
0 commit comments