Skip to content

Commit

Permalink
Use longer password in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
davisagli committed Sep 19, 2022
1 parent d4041bc commit c963da7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion plone/app/relationfield/schemaeditor.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@ Test setup::

>>> app = layer['app']
>>> from plone.testing.zope import Browser
>>> from plone.app.testing import TEST_USER_PASSWORD
>>> browser = Browser(app)
>>> browser.handleErrors = False
>>> browser.addHeader('Authorization', 'Basic admin:secret')
>>> browser.addHeader('Authorization', f'Basic admin:{TEST_USER_PASSWORD}')
>>> portal = layer['portal']
>>> portal_url = portal.portal_url()
>>> dexterity_types = portal_url + '/dexterity-types'
Expand Down
3 changes: 2 additions & 1 deletion plone/app/relationfield/schemaeditor_contenttree.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@ Test setup::

>>> app = layer['app']
>>> from plone.testing.z2 import Browser
>>> from plone.app.testing import TEST_USER_PASSWORD
>>> browser = Browser(app)
>>> browser.handleErrors = False
>>> browser.addHeader('Authorization', 'Basic admin:secret')
>>> browser.addHeader('Authorization', f'Basic admin:{TEST_USER_PASSWORD}')
>>> portal = layer['portal']
>>> portal_url = portal.portal_url()
>>> dexterity_types = portal_url + '/dexterity-types'
Expand Down

0 comments on commit c963da7

Please sign in to comment.