Jean-Paul Calderone | 26f2c34 | 2014-01-10 14:09:40 -0500 | [diff] [blame] | 1 | [tox] |
| 2 | envlist = py26,py27,pypy,py32,py33 |
| 3 | |
| 4 | [testenv] |
Jean-Paul Calderone | 35d93a4 | 2014-01-10 14:32:58 -0500 | [diff] [blame] | 5 | setenv = |
| 6 | # Do not allowed the executing environment to pollute the test environment |
| 7 | # with extra packages. |
| 8 | PYTHONPATH= |
| 9 | |
| 10 | # The standard library unittest module can run tests on Python 2.7 and newer |
Jean-Paul Calderone | 26f2c34 | 2014-01-10 14:09:40 -0500 | [diff] [blame] | 11 | commands = python -m unittest -v OpenSSL.test.test_rand OpenSSL.test.test_crypto OpenSSL.test.test_ssl |
| 12 | |
| 13 | [testenv:py26] |
Jean-Paul Calderone | 58e52b0 | 2014-01-10 14:29:29 -0500 | [diff] [blame] | 14 | deps = |
Jean-Paul Calderone | 35d93a4 | 2014-01-10 14:32:58 -0500 | [diff] [blame] | 15 | # Twisted doesn't declare this dependency so we have to do it |
Jean-Paul Calderone | 58e52b0 | 2014-01-10 14:29:29 -0500 | [diff] [blame] | 16 | zope.interface |
| 17 | twisted |
Jean-Paul Calderone | 35d93a4 | 2014-01-10 14:32:58 -0500 | [diff] [blame] | 18 | # On Python 2.6 use a different test runner |
Jean-Paul Calderone | 26f2c34 | 2014-01-10 14:09:40 -0500 | [diff] [blame] | 19 | commands = trial OpenSSL |