self.getUserBrowser(user=xxx).open(url) does not fail when the password is wrong

Bug #619049 reported by Robert Collins
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Low
William Grant

Bug Description

self.getUserBrowser(user=xxx).open(url) does not fail when the password is wrong

- details:
the password=yyy parameter to getUserBrowser interacts oddly: rather than a 401 or a login redirect, I get the page anonymously - this added great confusion to my testing, because it was entirely nonobvious.

Related branches

Revision history for this message
Gary Poster (gary) wrote :

getUserBrowser is in lp/testing/__init__.py

Changed in launchpad-foundations:
status: New → Triaged
importance: Undecided → Low
Revision history for this message
Curtis Hovey (sinzui) wrote :

William has a branch that sets all passwords to "test".

Changed in launchpad:
assignee: nobody → William Grant (wgrant)
status: Triaged → In Progress
Revision history for this message
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
Changed in launchpad:
status: In Progress → Fix Committed
William Grant (wgrant)
tags: added: qa-untestable
removed: qa-needstesting
William Grant (wgrant)
Changed in launchpad:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.