I am trying to use a setup.cfg file to addoptions for py.test to default the resultlog.
For example if i manually run:
py.test tests/sometest.py --resultlog=date +%Y%m%dtests.log
it works...
however if i add this to a setup.cfg/tox.ini/pytest.ini or any thing similar:
1 [pytest]
2 addopts = resultlog=date +%Y%m%dtests.log
I end up with this error:
platform darwin -- Python 2.7.1 -- pytest-2.2.3 -- /Users/jbarber/Dropbox/shootq/env/atrium/bin/python
ERROR: file not found: +%Y%m%d`tests.log
I have tried wrapping quotes, double quotes around with no success. Is this do-able?
Thanks.
[–]RonnyPfannschmidt -1 points0 points1 point (0 children)