[ZCM] [ZC] 1982/ 1 Request "testrunner.py stripping paths"

Collector: Zope Bugs, Features, and Patches ... zope-coders-admin at zope.org
Fri Dec 23 10:17:35 EST 2005


Issue #1982 Update (Request) "testrunner.py stripping paths"
 Status Pending, Zope/bug+solution low
To followup, visit:
  http://www.zope.org/Collectors/Zope/1982

==============================================================
= Request - Entry #1 by tziade on Dec 23, 2005 10:17 am

import_name should strip --dir path, otherwise this kind of call:

bin/zopectl test --dir Products/MyProduct/tests/

leads to an import_name('Products.MyProduct.tests.')
and therefore to a value error, wich is hard to understand.
import_name() should strip the path to remove trailing dots

==============================================================



More information about the Zope-Collector-Monitor mailing list