rerun regendoc with correct install
This commit is contained in:
parent
34b898b47e
commit
449b88c640
|
@ -29,15 +29,16 @@ now execute the test specification::
|
|||
======= test session starts ========
|
||||
platform linux -- Python 3.5.2, pytest-3.0.6, py-1.4.33, pluggy-0.4.0
|
||||
rootdir: $REGENDOC_TMPDIR/nonpython, inifile:
|
||||
collected 0 items / 1 errors
|
||||
collected 2 items
|
||||
|
||||
======= ERRORS ========
|
||||
_______ ERROR collecting test_simple.yml ________
|
||||
conftest.py:11: in collect
|
||||
import yaml # we need a yaml parser, e.g. PyYAML
|
||||
E ImportError: No module named 'yaml'
|
||||
!!!!!!!!!!!!!!!!! Interrupted: 1 errors during collection !!!!!!!!!!!!!!!!!!
|
||||
======= 1 error in 0.12 seconds ========
|
||||
test_simple.yml F.
|
||||
|
||||
======= FAILURES ========
|
||||
_______ usecase: hello ________
|
||||
usecase execution failed
|
||||
spec failed: 'some': 'other'
|
||||
no further details known at this point.
|
||||
======= 1 failed, 1 passed in 0.12 seconds ========
|
||||
|
||||
.. regendoc:wipe
|
||||
|
||||
|
@ -61,15 +62,17 @@ consulted when reporting in ``verbose`` mode::
|
|||
platform linux -- Python 3.5.2, pytest-3.0.6, py-1.4.33, pluggy-0.4.0 -- $PYTHON_PREFIX/bin/python3.5m
|
||||
cachedir: .cache
|
||||
rootdir: $REGENDOC_TMPDIR/nonpython, inifile:
|
||||
collecting ... collected 0 items / 1 errors
|
||||
collecting ... collected 2 items
|
||||
|
||||
======= ERRORS ========
|
||||
_______ ERROR collecting test_simple.yml ________
|
||||
conftest.py:11: in collect
|
||||
import yaml # we need a yaml parser, e.g. PyYAML
|
||||
E ImportError: No module named 'yaml'
|
||||
!!!!!!!!!!!!!!!!! Interrupted: 1 errors during collection !!!!!!!!!!!!!!!!!!
|
||||
======= 1 error in 0.12 seconds ========
|
||||
test_simple.yml::hello FAILED
|
||||
test_simple.yml::ok PASSED
|
||||
|
||||
======= FAILURES ========
|
||||
_______ usecase: hello ________
|
||||
usecase execution failed
|
||||
spec failed: 'some': 'other'
|
||||
no further details known at this point.
|
||||
======= 1 failed, 1 passed in 0.12 seconds ========
|
||||
|
||||
.. regendoc:wipe
|
||||
|
||||
|
@ -80,12 +83,9 @@ interesting to just look at the collection tree::
|
|||
======= test session starts ========
|
||||
platform linux -- Python 3.5.2, pytest-3.0.6, py-1.4.33, pluggy-0.4.0
|
||||
rootdir: $REGENDOC_TMPDIR/nonpython, inifile:
|
||||
collected 0 items / 1 errors
|
||||
collected 2 items
|
||||
<YamlFile 'test_simple.yml'>
|
||||
<YamlItem 'hello'>
|
||||
<YamlItem 'ok'>
|
||||
|
||||
======= ERRORS ========
|
||||
_______ ERROR collecting test_simple.yml ________
|
||||
conftest.py:11: in collect
|
||||
import yaml # we need a yaml parser, e.g. PyYAML
|
||||
E ImportError: No module named 'yaml'
|
||||
!!!!!!!!!!!!!!!!! Interrupted: 1 errors during collection !!!!!!!!!!!!!!!!!!
|
||||
======= 1 error in 0.12 seconds ========
|
||||
======= no tests ran in 0.12 seconds ========
|
||||
|
|
|
@ -399,8 +399,8 @@ Running it results in some skips if we don't have all the python interpreters in
|
|||
. $ pytest -rs -q multipython.py
|
||||
sssssssssssssssssssssssssssssssssssssssssssss...
|
||||
======= short test summary info ========
|
||||
SKIP [15] $REGENDOC_TMPDIR/CWD/multipython.py:23: 'python3.4' not found
|
||||
SKIP [15] $REGENDOC_TMPDIR/CWD/multipython.py:23: 'python2.6' not found
|
||||
SKIP [15] $REGENDOC_TMPDIR/CWD/multipython.py:23: 'python3.4' not found
|
||||
SKIP [15] $REGENDOC_TMPDIR/CWD/multipython.py:23: 'python2.7' not found
|
||||
3 passed, 45 skipped in 0.12 seconds
|
||||
|
||||
|
|
|
@ -359,7 +359,7 @@ get on the terminal - we are working on that)::
|
|||
> int(s)
|
||||
E ValueError: invalid literal for int() with base 10: 'qwe'
|
||||
|
||||
<0-codegen /home/ronny/Projects/pytest-dev/pytest/_pytest/python.py:1207>:1: ValueError
|
||||
<0-codegen $PYTHON_PREFIX/lib/python3.5/site-packages/_pytest/python.py:1207>:1: ValueError
|
||||
_______ TestRaises.test_raises_doesnt ________
|
||||
|
||||
self = <failure_demo.TestRaises object at 0xdeadbeef>
|
||||
|
|
|
@ -26,7 +26,7 @@ Installation::
|
|||
To check your installation has installed the correct version::
|
||||
|
||||
$ pytest --version
|
||||
This is pytest version 3.0.6, imported from /home/ronny/Projects/pytest-dev/pytest/pytest.py
|
||||
This is pytest version 3.0.6, imported from $PYTHON_PREFIX/lib/python3.5/site-packages/pytest.py
|
||||
|
||||
.. _`simpletest`:
|
||||
|
||||
|
|
Loading…
Reference in New Issue