[TIP] Adding a test made it quicker?

Florian Bruhin me at the-compiler.org
Tue Aug 4 02:33:16 PDT 2015


* Aaron Whitehouse <lists at whitehouse.kiwi.nz> [2015-08-04 10:27:57 +0100]:
> Apologies, I seem to be half of the volume on this list at the moment!

With me being the other half? :D

> ==
> [tox]
> envlist=py26,py27,lpbuildd
> 
> [testenv]
> setenv=
>     RUN_CODE_TESTS=1
> deps=
>     lockfile
>     mock
>     pexpect
>     unittest2
> # conditional deps (py26: unittest2) don't work on tox <1.8
> 
> [testenv:lpbuildd]
> deps=
>     lockfile==0.8
>     mock==0.7.2
>     pexpect==2.4
>     python==2.7
> 
> commands=
>     {envpython} {toxinidir}/setup.py test {posargs}
> 
> ==

You also moved the command list to [testenv:lpbuildd], so I'm guessing
the py26/py27 env's won't run *any* command. That probably should be
in [testenv] instead.

Florian

-- 
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/20150804/16319314/attachment.pgp>


More information about the testing-in-python mailing list