#9868: Test client login return values should be improved
-----------------------------------------------+----------------------------
 Reporter:  David Sauve <[email protected]>    |       Owner:  nobody    
   Status:  new                                |   Milestone:            
Component:  Uncategorized                      |     Version:  1.0       
 Keywords:  testing test client login session  |       Stage:  Unreviewed
Has_patch:  0                                  |  
-----------------------------------------------+----------------------------
 The current implementation of the django.test.client's login method
 returns either True or False when trying to login a user, however, there
 is no way of knowing why a login failed.

 The login method could probably be modified to raise an exception with
 further information regarding why the login failed.  For example, if
 INSTALLED_APPS does not include 'settings'.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/9868>
Django <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
-~----------~----~----~----~------~----~------~--~---

Reply via email to