New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testing.testbrowser.Browser should have a basic auth login method #341

icemac opened this Issue Oct 3, 2018 · 0 comments


1 participant
Copy link

icemac commented Oct 3, 2018

Currently you have to write:

browser = Testing.testbrowser.Browser()
    'basic {}'.format(codecs.encode(
        b'manager:manager_pass', 'base64').decode()))

The new method should be used in the tests inside Zope.

@icemac icemac added the enhancement label Oct 3, 2018

@icemac icemac added this to To do in Zope 4 final release via automation Oct 30, 2018

@icemac icemac added this to the 4.0 final milestone Oct 30, 2018

@dataflake dataflake closed this in dc47827 Nov 22, 2018

dataflake added a commit that referenced this issue Nov 22, 2018

Merge pull request #404 from zopefoundation/jens_fix_341
Add TestBrowser ``login`` method to set basic auth header (fixes #341)

Zope 4 final release automation moved this from To do to Done Nov 22, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment