Command Line Usage

This package provides a script, zope-testrunner, that’s available when installed via pip. It can also be used as a Python module with the -m option.

$ python -m zope.testrunner --help
Traceback (most recent call last):
  File "/usr/lib64/python2.7/runpy.py", line 174, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib64/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/tmp/B.8ecv4crp/BUILD/zope.testrunner-5.6/src/zope/testrunner/__main__.py", line 19, in <module>
    run()
  File "/tmp/B.8ecv4crp/BUILD/zope.testrunner-5.6/src/zope/testrunner/__init__.py", line 32, in run
    warnings=warnings)
  File "/tmp/B.8ecv4crp/BUILD/zope.testrunner-5.6/src/zope/testrunner/__init__.py", line 52, in run_internal
    from zope.testrunner.runner import Runner
  File "/tmp/B.8ecv4crp/BUILD/zope.testrunner-5.6/src/zope/testrunner/runner.py", line 36, in <module>
    import zope.testrunner._doctest
  File "/tmp/B.8ecv4crp/BUILD/zope.testrunner-5.6/src/zope/testrunner/_doctest.py", line 20, in <module>
    import zope.testrunner.feature
  File "/tmp/B.8ecv4crp/BUILD/zope.testrunner-5.6/src/zope/testrunner/feature.py", line 17, in <module>
    import zope.interface
ImportError: No module named interface