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 "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/home/iurt/rpmbuild/BUILD/python-zope-testrunner-7.2-build/zope_testrunner-7.2/src/zope/testrunner/__main__.py", line 19, in <module>
    run()
    ~~~^^
  File "/home/iurt/rpmbuild/BUILD/python-zope-testrunner-7.2-build/zope_testrunner-7.2/src/zope/testrunner/__init__.py", line 33, in run
    failed = run_internal(defaults, args, script_parts=script_parts, cwd=cwd,
                          warnings=warnings)
  File "/home/iurt/rpmbuild/BUILD/python-zope-testrunner-7.2-build/zope_testrunner-7.2/src/zope/testrunner/__init__.py", line 54, in run_internal
    from zope.testrunner.runner import Runner
  File "/home/iurt/rpmbuild/BUILD/python-zope-testrunner-7.2-build/zope_testrunner-7.2/src/zope/testrunner/runner.py", line 35, in <module>
    import zope.testrunner._doctest
  File "/home/iurt/rpmbuild/BUILD/python-zope-testrunner-7.2-build/zope_testrunner-7.2/src/zope/testrunner/_doctest.py", line 20, in <module>
    import zope.testrunner.feature
  File "/home/iurt/rpmbuild/BUILD/python-zope-testrunner-7.2-build/zope_testrunner-7.2/src/zope/testrunner/feature.py", line 17, in <module>
    import zope.interface
ModuleNotFoundError: No module named 'zope.interface'