New issue 741: Make "running ..." output from runpytest copy'n'pastable
https://bitbucket.org/pytest-dev/pytest/issue/741/make-running-output-from-runpytest
Daniel Hahler:
Currently it says:
```
#!
-------------------------------------------------------------------------
Captured stdout call
--------------------------------------------------------------------------
running ['…/pytest-django/bin/python3.4',
'…/pytest-django/lib/python3.4/site-packages/pytest.py',
'--basetemp=/tmp/pytest-46/testdir/test_unittest_interaction0/runpytest-0',
'-v', '--reuse-db'] curdir= /tmp/pytest-46/testdir/test_unittest_interaction0
```
It would be nice, if this could be copied for pasting more easily:
running: …/pytest-django/bin/python3.4
…/pytest-django/lib/python3.4/site-packages/pytest.py
--basetemp=/tmp/pytest-46/testdir/test_unittest_interaction0/runpytest-0 -v
--reuse-db
in: /tmp/pytest-46/testdir/test_unittest_interaction0
You might want to use `shlex.quote` here (if there isn't a function like this
in pylib/pytest already).
This would allow for easily running the inner test.
_______________________________________________
pytest-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pytest-commit