LaunchpadUser.ensure_login() fails if the current page is a +login page

Bug #461759 reported by Björn Tillenius on 2009-10-27
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Björn Tillenius

Bug Description

If you call LaunchpadUser.ensure_login() in a Windmill test, it will fail if the browser already is on the +login page. The code will assume that the user is logged in, and will try to press the "logout" button, which doesn't exist.

Related branches

Changed in launchpad-foundations:
status: In Progress → Fix Committed
Changed in launchpad-foundations:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers