testrunner.py stripping paths

Bug #143601 reported by Tarek Ziadé
2
Affects Status Importance Assigned to Milestone
Zope 2
Won't Fix
Low
Unassigned

Bug Description

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

Revision history for this message
Hanno Schlichting (hannosch) wrote :

zopectl in current Zope has no test command anymore. You get test runners via builout and zc.recipe.testrunner today.

Changed in zope2:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.