[TIP] Struggling with nose-to-pytest config file

Bruno Oliveira nicoddemus at gmail.com
Tue May 1 09:41:20 PDT 2018

Hi Skip,

On Tue, May 1, 2018 at 1:19 PM Skip Montanaro <skip.montanaro at gmail.com>

> I'm not familiar with the code, and with a quick skim nothing jumped out at
> me. Is it possible to include environment variable references in the
> addopts option? For example, is this valid?
> [pytest]
> addopts = --junit-xml=${XUNIT_DIR}/xunit.xml

Yes this works, but because the junitxml plugin expands environment
variables explicitly[1], it is not something done automatically for all ini


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.idyll.org/pipermail/testing-in-python/attachments/20180501/fcf86163/attachment.htm>

More information about the testing-in-python mailing list