Skip to content

Commit

Permalink
Switch to using the now-working `setup.py test´.
Browse files Browse the repository at this point in the history
  • Loading branch information
exarkun committed Jan 11, 2014
1 parent 6cdff71 commit 2b1e0bd
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,19 +1,10 @@
[tox]
envlist = py26,py27,pypy,py32,py33
envlist = pypy,py26,py27,py32,py33

[testenv]
setenv =
# Do not allowed the executing environment to pollute the test environment
# with extra packages.
PYTHONPATH=

# The standard library unittest module can run tests on Python 2.7 and newer
commands = python -m unittest -v OpenSSL.test.test_rand OpenSSL.test.test_crypto OpenSSL.test.test_ssl

[testenv:py26]
deps =
# Twisted doesn't declare this dependency so we have to do it
zope.interface
twisted
# On Python 2.6 use a different test runner
commands = trial OpenSSL
commands = python setup.py test

0 comments on commit 2b1e0bd

Please sign in to comment.