Skip to content

Commit

Permalink
Make it possible to use zope.testrunner.
Browse files Browse the repository at this point in the history
You can do it like this:

  virtualenv .
  bin/pip install zope.testrunner zc.buildout
  bin/zope-testrunner --tests-pattern=test --test-path=.
  • Loading branch information
mgedmin committed Jun 11, 2012
1 parent 7381d61 commit b7abc2d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
],
extras_require={'buildout': ['zc.buildout']},
tests_require=['zc.buildout'],
test_suite='z3c.checkversions.test.test',
test_suite='z3c.checkversions.test.test_suite',
entry_points="""
# -*- Entry points: -*-
[console_scripts]
Expand Down
2 changes: 1 addition & 1 deletion z3c/checkversions/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def setUp(test):
def tearDown(test):
distutils.log.set_threshold(test._old_log_level)

def test():
def test_suite():
optionflags = ELLIPSIS|NORMALIZE_WHITESPACE
suite = DocFileSuite('README.txt', 'buildout.txt', 'installed.txt',
setUp=setUp, tearDown=tearDown,
Expand Down

0 comments on commit b7abc2d

Please sign in to comment.