(I see several open issues about compatibility with the old mechanize-based test browser, so I hope this sort of thing is welcome.)
I'm in the process of migrating a large project (Launchpad) from old versions of zope.testbrowser to version 5.x. One thorn in my side has been that in several places we do something like this:
This worked with mechanize because regexes were tested using .search. However, zope.testbrowser now tests them using .match, so the above code has to be more like this:
(I see several open issues about compatibility with the old
mechanize
-based test browser, so I hope this sort of thing is welcome.)I'm in the process of migrating a large project (Launchpad) from old versions of
zope.testbrowser
to version 5.x. One thorn in my side has been that in several places we do something like this:This worked with
mechanize
because regexes were tested using.search
. However,zope.testbrowser
now tests them using.match
, so the above code has to be more like this:I don't suppose it would be possible to go back to 4.x-compatible behaviour here?