Skip to content

Commit

Permalink
Add a tox.ini
Browse files Browse the repository at this point in the history
  • Loading branch information
mgedmin committed May 6, 2015
1 parent 4da3a78 commit 7ac39a2
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
include *.py
include *.rst
include buildout.cfg
include tox.ini
recursive-include src *.log
recursive-include src *.txt
recursive-include src *.zcml
3 changes: 2 additions & 1 deletion src/zc/zservertracelog/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@
'23418928 2008-08-26 10:55:00.000000'),
(re.compile(r'^usage: '), 'Usage: '),
(re.compile(r'options:'), 'Options:'),
])
(re.compile(r'zope-testrunner'), 'test'), # sys.argv[0] when run from tox
])

_null_app = lambda environ, start_response: None

Expand Down
10 changes: 10 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[tox]
envlist =
py26,py27,pypy

[testenv]
deps =
zope.testing < 4.0.0
zope.testrunner
commands =
zope-testrunner --test-path=src {posargs:-pvc}

0 comments on commit 7ac39a2

Please sign in to comment.