@@ -40,7 +40,8 @@ Dump environment variables
40
40
$ py.test --echo-env=HOME
41
41
============================= test session starts =========================
42
42
platform linux2 -- Python 2.7.4 -- py-1.4.22 -- pytest-2.6.0 -- /bin/python
43
- HOME: /home/sax
43
+ Environment:
44
+ HOME: /Users/sax
44
45
plugins: echo, pydev, cov, cache, django
45
46
46
47
@@ -52,7 +53,8 @@ Dump package version
52
53
$ py.test --echo-version=pytest_echo
53
54
============================= test session starts =========================
54
55
platform linux2 -- Python 2.7.4 -- py-1.4.22 -- pytest-2.6.0 -- /bin/python
55
- pytest_echo: 0.1
56
+ Package version:
57
+ pytest_echo: 0.1
56
58
plugins: echo, pydev, cov, cache, django
57
59
58
60
.. warning :: The first attempt to retrieve the version is done via setuptools
@@ -69,7 +71,8 @@ Dump attributes
69
71
$ py.test --echo-attr=django.conf.settings.DEBUG
70
72
============================= test session starts =========================
71
73
platform linux2 -- Python 2.7.4 -- py-1.4.22 -- pytest-2.6.0 -- /bin/python
72
- DEBUG: False
74
+ Inspections
75
+ django.conf.settings.DEBUG: False
73
76
plugins: echo, pydev, cov, cache, django
74
77
75
78
.. warning :: Be careful when use ``--echo-attr``. It loads any module in the path and this will
0 commit comments