[TIP] Running a single test with tox

Florian Bruhin me at the-compiler.org
Thu Jul 30 08:46:48 PDT 2015

* Aaron Whitehouse <lists at whitehouse.kiwi.nz> [2015-07-30 16:05:21 +0100]:
> I'm presumably doing something really obvious wrong, but I can't figure
> it out, so would really appreciate a pointer!

Your tox.ini needs to include the {posargs} substitution at the point
the arguments should be used.

It seems duplicity's doesn't do that:

The command line should probably be something like this instead:

    {envpython} ./setup.py test {posargs}


http://www.the-compiler.org | me at the-compiler.org (Mail/XMPP)
   GPG: 916E B0C8 FD55 A072 | http://the-compiler.org/pubkey.asc
         I love long mails! | http://email.is-not-s.ms/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.idyll.org/pipermail/testing-in-python/attachments/20150730/95552b5c/attachment.pgp>

More information about the testing-in-python mailing list