AmbiguityError could be more helpful

Bug #721252 reported by Marius Gedminas
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
zope.testbrowser
Fix Released
Undecided
Unassigned

Bug Description

Whenever I unexpectedly get something like

    AmbiguityError: label 'Add'

in a functional test, I wish testbrowser were more verbose and showed me the matching controls, so that I would know how to narrow it down.

So I created a patch to make it happen.

Revision history for this message
Marius Gedminas (mgedmin) wrote :
Changed in zope.testbrowser:
status: New → Fix Committed
Revision history for this message
Marius Gedminas (mgedmin) wrote :

After receiving some positive feedback on IRC, I committed this to trunk.

(It's not really a bugfix, so should the version number change to 3.12dev, or is it OK to leave it at 3.11.2?)

Revision history for this message
Brian Sutherland (jinty) wrote :

Personally, I would bump it to advice the person next releasing the project that it's a feature release.

I've already bumped it to version 4.0.0dev on my webtest branch that should hopefully be merged soon...

Brian Sutherland (jinty)
Changed in zope.testbrowser:
status: Fix Committed → Fix Released
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.