You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(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?
The text was updated successfully, but these errors were encountered: