#2900: Testing: Client.login doesn't allow for params in the final get()
--------------------------------+-------------------------------------------
Reporter: [EMAIL PROTECTED] | Owner: adrian
Status: new | Component: Unit test system
Version: | Resolution:
Keywords: | Stage: Design decision needed
Has_patch: 0 | Needs_docs: 0
Needs_tests: 0 | Needs_better_patch: 0
--------------------------------+-------------------------------------------
Comment (by anonymous):
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.
--
Ticket URL: <http://code.djangoproject.com/ticket/2900#comment:2>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---