Skip to content

Commit

Permalink
Remove BBB import of z2
Browse files Browse the repository at this point in the history
  • Loading branch information
mauritsvanrees committed Mar 30, 2023
1 parent 342d747 commit f18e2b6
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions plone/portlet/collection/tests/functional.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,7 @@ Set up testbrowser::
>>> from plone.app.testing import login
>>> login(layer['portal'], 'admin')
>>> app = layer['app']
>>> try:
... from plone.testing.zope import Browser
... except ImportError:
... from plone.testing.z2 import Browser
>>> from plone.testing.zope import Browser
>>> browser = Browser(app)
>>> browser.handleErrors = False
>>> browser.addHeader('Authorization', 'Basic admin:secret')
Expand Down

0 comments on commit f18e2b6

Please sign in to comment.