Opened 18 years ago

Closed 17 years ago

#2900 closed enhancement (wontfix)

Testing: Client.login doesn't allow for params in the final get()

Reported by: finkel@… Owned by: Adrian Holovaty
Component: Testing framework Version:
Severity: minor Keywords:
Cc: Triage Stage: Design decision needed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

It's not too hard to get around this because because you can first login to a @login_required view that takes no params, but it seems like something that should eventually be there. And it's an easy fix

Change History (3)

comment:1 by mir@…, 18 years ago

Triage Stage: UnreviewedDesign decision needed

comment:2 by anonymous, 18 years ago

I think this may be as simple as changing line 216 in Client.py from

        return self.get(path)

to

        return self.get(path, **extra)

The problem, again, is if you want to test a @login_required view that takes GET parameters.

comment:3 by Russell Keith-Magee, 17 years ago

Resolution: wontfix
Status: newclosed

Login has been changed from a view-based to an authentication-based method. This removes the need for this change.

Note: See TracTickets for help on using tickets.
Back to Top