Module Import alias Import alias Import alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Expr Str Assign NameStore ListLoad Str Assign NameStore Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr TupleLoad TupleLoad Str Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr TupleLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults Str body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Dict Str Str Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index Str attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareIn NameLoad AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Dict Str Str Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Dict Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr CompareIn Str AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Dict Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Str AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Dict Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Num Return Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareIsNot NameLoad NameLoad Str Return TupleLoad Call AttributeLoad NameLoad attr SubscriptLoad Call AttributeLoad NameLoad attr Index Num decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr CompareIn Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign NameStore BinOpAdd BinOpAdd SubscriptLoad NameLoad Slice Num BinOpMult Str Num SubscriptLoad NameLoad Index Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr CompareIn Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr CompareIn Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr CompareIn Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign NameStore BinOpAdd BinOpAdd SubscriptLoad NameLoad Slice Num BinOpMult Str Num SubscriptLoad NameLoad Index Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Dict Str Str Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Expr Call AttributeLoad NameLoad attr UnaryOpNot Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Dict Str Str Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr CompareIn Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Dict Str Str Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr CompareIn Str AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults Str body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Dict Str Str Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr CompareIn Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Dict Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr CompareIn Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Dict Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr CompareIn Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Dict Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index Str attr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword Str decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num If AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults Str body Assign NameStore Call NameLoad Str For NameStore TupleLoad Str Str Str Str body Assign NameStore BinOpMod Str Dict Str Str Str NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Dict Str Str Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr CompareIn NameLoad SubscriptLoad NameLoad Index Str BinOpMod Str NameLoad For NameStore TupleLoad Str Str Str Str Str Str Str body Assign NameStore BinOpMod Str Dict Str Str Str NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Dict Str Str Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr CompareIn NameLoad SubscriptLoad NameLoad Index Str BinOpMod Str NameLoad decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Return SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Str keyword NameLoad Assign SubscriptStore NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr NameLoad BinOpMod Str TupleLoad NameLoad Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Str keyword NameLoad Assign SubscriptStore NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr NameLoad BinOpMod Str TupleLoad NameLoad Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Str keyword NameLoad Assign SubscriptStore NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr NameLoad BinOpMod Str TupleLoad NameLoad Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Str keyword NameLoad Assign SubscriptStore NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr NameLoad BinOpMod Str Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Assign NameStore Call NameLoad Str keyword NameLoad Assign SubscriptStore NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr NameLoad BinOpMod Str TupleLoad NameLoad Call AttributeLoad NameLoad attr Str decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr CompareNotIn NameLoad AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareIn Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr CompareIn Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index Str attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index Str attr Str Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index Str attr Str Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index Str attr Str Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index Str attr Str Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults Str body Assign NameStore Call NameLoad Str For NameStore TupleLoad Str Str Str Str body Assign NameStore BinOpMod Str Dict Str Str Str NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr CompareIn NameLoad SubscriptLoad NameLoad Index Str BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr For NameStore TupleLoad Str Str Str Str Str Str Str body Assign NameStore BinOpMod Str Dict Str Str Str NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr CompareIn NameLoad SubscriptLoad NameLoad Index Str BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A os N/A re N/A urllib django.conf settings django.contrib.auth SESSION_KEY REDIRECT_FIELD_NAME django.contrib.auth.forms AuthenticationForm django.contrib.sites.models Site RequestSite django.contrib.auth.models User django.test TestCase django.core mail django.core.urlresolvers reverse django.http QueryDict AuthViewsTestCase N/A TestCase N/A N/A 
    Helper base class for all the follow test cases.
     N/A fixtures N/A authtestdata.json N/A urls django.contrib.auth.tests.urls setUp N/A N/A self N/A N/A N/A N/A self old_LANGUAGES N/A settings LANGUAGES N/A N/A self old_LANGUAGE_CODE N/A settings LANGUAGE_CODE N/A N/A settings LANGUAGES N/A N/A en English N/A N/A settings LANGUAGE_CODE en N/A N/A self old_TEMPLATE_DIRS N/A settings TEMPLATE_DIRS N/A N/A settings TEMPLATE_DIRS N/A N/A N/A N/A os path join N/A N/A N/A os path dirname __file__ templates N/A tearDown N/A N/A self N/A N/A N/A N/A settings LANGUAGES N/A self old_LANGUAGES N/A N/A settings LANGUAGE_CODE N/A self old_LANGUAGE_CODE N/A N/A settings TEMPLATE_DIRS N/A self old_TEMPLATE_DIRS N/A login N/A N/A self password N/A password N/A N/A response N/A N/A N/A self client post /login/ N/A username password testclient password N/A N/A N/A self assertEqual N/A response status_code 302 N/A N/A N/A self assertTrue N/A N/A N/A response N/A Location endswith N/A settings LOGIN_REDIRECT_URL N/A N/A N/A self assertTrue N/A SESSION_KEY N/A N/A self client session N/A N/A PasswordResetTest N/A AuthViewsTestCase N/A test_email_not_found N/A N/A self N/A N/A N/A Error is raised if the provided email address isn't currently registered N/A response N/A N/A N/A self client get /password_reset/ N/A N/A N/A self assertEqual N/A response status_code 200 N/A response N/A N/A N/A self client post /password_reset/ N/A email not_a_real_email@email.com N/A N/A N/A self assertContains response That e-mail address doesn&#39;t have an associated user account N/A N/A N/A self assertEqual N/A len N/A mail outbox 0 N/A test_email_found N/A N/A self N/A N/A N/A Email is sent if a valid email address is provided for password reset N/A response N/A N/A N/A self client post /password_reset/ N/A email staffmember@example.com N/A N/A N/A self assertEqual N/A response status_code 302 N/A N/A N/A self assertEqual N/A len N/A mail outbox 1 N/A N/A N/A self assertTrue N/A http:// N/A N/A N/A mail outbox N/A 0 body N/A N/A N/A self assertEqual N/A settings DEFAULT_FROM_EMAIL N/A N/A N/A mail outbox N/A 0 from_email N/A test_email_found_custom_from N/A N/A self N/A N/A N/A Email is sent if a valid email address is provided for password reset when a custom from_email is provided. N/A response N/A N/A N/A self client post /password_reset_from_email/ N/A email staffmember@example.com N/A N/A N/A self assertEqual N/A response status_code 302 N/A N/A N/A self assertEqual N/A len N/A mail outbox 1 N/A N/A N/A self assertEqual staffmember@example.com N/A N/A N/A mail outbox N/A 0 from_email N/A _test_confirm_start N/A N/A self N/A N/A N/A response N/A N/A N/A self client post /password_reset/ N/A email staffmember@example.com N/A N/A N/A self assertEqual N/A response status_code 302 N/A N/A N/A self assertEqual N/A len N/A mail outbox 1 N/A N/A N/A self _read_signup_email N/A N/A mail outbox N/A 0 N/A _read_signup_email N/A N/A self email N/A N/A N/A urlmatch N/A N/A re search https?://[^/]*(/.*reset/\S*) N/A email body N/A N/A N/A self assertTrue N/A urlmatch None No URL found in sent email N/A N/A N/A N/A urlmatch group N/A N/A N/A urlmatch groups N/A 0 N/A test_confirm_valid N/A N/A self N/A N/A N/A N/A url path N/A N/A self _test_confirm_start N/A response N/A N/A N/A self client get path N/A N/A N/A self assertEqual N/A response status_code 200 N/A N/A N/A self assertTrue N/A Please enter your new password N/A response content N/A test_confirm_invalid N/A N/A self N/A N/A N/A N/A url path N/A N/A self _test_confirm_start N/A path N/A N/A N/A path N/A -5 N/A 0 4 N/A path N/A -1 N/A response N/A N/A N/A self client get path N/A N/A N/A self assertEqual N/A response status_code 200 N/A N/A N/A self assertTrue N/A The password reset link was invalid N/A response content N/A test_confirm_invalid_user N/A N/A self N/A N/A N/A response N/A N/A N/A self client get /reset/123456-1-1/ N/A N/A N/A self assertEqual N/A response status_code 200 N/A N/A N/A self assertTrue N/A The password reset link was invalid N/A response content N/A test_confirm_overflow_user N/A N/A self N/A N/A N/A response N/A N/A N/A self client get /reset/zzzzzzzzzzzzz-1-1/ N/A N/A N/A self assertEqual N/A response status_code 200 N/A N/A N/A self assertTrue N/A The password reset link was invalid N/A response content N/A test_confirm_invalid_post N/A N/A self N/A N/A N/A N/A url path N/A N/A self _test_confirm_start N/A path N/A N/A N/A path N/A -5 N/A 0 4 N/A path N/A -1 N/A response N/A N/A N/A self client post path N/A new_password1 new_password2 anewpassword  anewpassword N/A u N/A N/A N/A User objects get email staffmember@example.com N/A N/A N/A self assertTrue N/A N/A N/A u check_password anewpassword N/A test_confirm_complete N/A N/A self N/A N/A N/A N/A url path N/A N/A self _test_confirm_start N/A response N/A N/A N/A self client post path N/A new_password1 new_password2 anewpassword anewpassword N/A N/A N/A self assertEqual N/A response status_code 302 N/A u N/A N/A N/A User objects get email staffmember@example.com N/A N/A N/A self assertTrue N/A N/A u check_password anewpassword N/A response N/A N/A N/A self client get path N/A N/A N/A self assertEqual N/A response status_code 200 N/A N/A N/A self assertTrue N/A The password reset link was invalid N/A response content N/A test_confirm_different_passwords N/A N/A self N/A N/A N/A N/A url path N/A N/A self _test_confirm_start N/A response N/A N/A N/A self client post path N/A new_password1 new_password2 anewpassword  x N/A N/A N/A self assertEqual N/A response status_code 200 N/A N/A N/A self assertTrue N/A The two password fields didn&#39;t match N/A response content N/A N/A ChangePasswordTest N/A AuthViewsTestCase N/A fail_login N/A N/A self password N/A password N/A N/A response N/A N/A N/A self client post /login/ N/A username password testclient password N/A N/A N/A self assertEqual N/A response status_code 200 N/A N/A N/A self assertTrue N/A Please enter a correct username and password. Note that both fields are case-sensitive. N/A response content N/A logout N/A N/A self N/A N/A N/A response N/A N/A N/A self client get /logout/ N/A test_password_change_fails_with_invalid_old_password N/A N/A self N/A N/A N/A N/A N/A self login N/A response N/A N/A N/A self client post /password_change/ N/A old_password new_password1 new_password2 donuts password1 password1 N/A N/A N/A self assertEqual N/A response status_code 200 N/A N/A N/A self assertTrue N/A Your old password was entered incorrectly. Please enter it again. N/A response content N/A test_password_change_fails_with_mismatched_passwords N/A N/A self N/A N/A N/A N/A N/A self login N/A response N/A N/A N/A self client post /password_change/ N/A old_password new_password1 new_password2 password password1 donuts N/A N/A N/A self assertEqual N/A response status_code 200 N/A N/A N/A self assertTrue N/A The two password fields didn&#39;t match. N/A response content N/A test_password_change_succeeds N/A N/A self N/A N/A N/A N/A N/A self login N/A response N/A N/A N/A self client post /password_change/ N/A old_password new_password1 new_password2 password password1 password1 N/A N/A N/A self assertEqual N/A response status_code 302 N/A N/A N/A self assertTrue N/A N/A N/A response N/A Location endswith /password_change/done/ N/A N/A N/A self fail_login N/A N/A N/A self login password password1 N/A N/A LoginTest N/A AuthViewsTestCase N/A test_current_site_in_context_after_login N/A N/A self N/A N/A N/A response N/A N/A N/A self client get N/A reverse django.contrib.auth.views.login N/A N/A N/A self assertEqual N/A response status_code 200 N/A N/A N/A Site _meta installed N/A N/A site N/A N/A N/A Site objects get_current N/A N/A N/A self assertEqual N/A N/A response context N/A site site N/A N/A N/A self assertEqual N/A N/A response context N/A site_name N/A site name N/A N/A N/A N/A self assertIsInstance N/A N/A response context N/A site RequestSite N/A N/A N/A self assertTrue N/A isinstance N/A N/A response context N/A form AuthenticationForm Login form is not an AuthenticationForm N/A test_security_check N/A N/A self password N/A password N/A N/A login_url N/A reverse django.contrib.auth.views.login N/A bad_url N/A http://example.com https://example.com ftp://exampel.com //example.com N/A N/A nasty_url N/A %(url)s?%(next)s=%(bad_url)s N/A url next bad_url login_url REDIRECT_FIELD_NAME N/A N/A urllib quote bad_url N/A response N/A N/A N/A self client post nasty_url N/A username password testclient password N/A N/A N/A self assertEqual N/A response status_code 302 N/A N/A N/A self assertFalse N/A bad_url N/A response N/A Location N/A %s should be blocked bad_url N/A good_url N/A /view/?param=http://example.com /view/?param=https://example.com /view?param=ftp://exampel.com view/?param=//example.com https:/// //testserver/ /url%20with%20spaces/ N/A N/A safe_url N/A %(url)s?%(next)s=%(good_url)s N/A url next good_url login_url REDIRECT_FIELD_NAME N/A N/A urllib quote good_url N/A response N/A N/A N/A self client post safe_url N/A username password testclient password N/A N/A N/A self assertEqual N/A response status_code 302 N/A N/A N/A self assertTrue N/A good_url N/A response N/A Location N/A %s should be allowed good_url N/A N/A LoginURLSettings N/A AuthViewsTestCase N/A N/A urls django.contrib.auth.tests.urls setUp N/A N/A self N/A N/A N/A N/A N/A N/A super LoginURLSettings self setUp N/A N/A self old_LOGIN_URL N/A settings LOGIN_URL N/A tearDown N/A N/A self N/A N/A N/A N/A N/A N/A super LoginURLSettings self tearDown N/A N/A settings LOGIN_URL N/A self old_LOGIN_URL N/A get_login_required_url N/A N/A self login_url N/A N/A N/A N/A settings LOGIN_URL login_url N/A response N/A N/A N/A self client get /login_required/ N/A N/A N/A self assertEqual N/A response status_code 302 N/A N/A response N/A Location N/A test_standard_login_url N/A N/A self N/A N/A N/A login_url /login/ N/A login_required_url N/A N/A self get_login_required_url login_url N/A querystring N/A QueryDict mutable True N/A N/A querystring N/A next /login_required/ N/A N/A N/A self assertEqual login_required_url N/A http://testserver%s?%s N/A login_url N/A N/A querystring urlencode / N/A test_remote_login_url N/A N/A self N/A N/A N/A login_url http://remote.example.com/login N/A login_required_url N/A N/A self get_login_required_url login_url N/A querystring N/A QueryDict mutable True N/A N/A querystring N/A next http://testserver/login_required/ N/A N/A N/A self assertEqual login_required_url N/A %s?%s N/A login_url N/A N/A querystring urlencode / N/A test_https_login_url N/A N/A self N/A N/A N/A login_url https:///login/ N/A login_required_url N/A N/A self get_login_required_url login_url N/A querystring N/A QueryDict mutable True N/A N/A querystring N/A next http://testserver/login_required/ N/A N/A N/A self assertEqual login_required_url N/A %s?%s N/A login_url N/A N/A querystring urlencode / N/A test_login_url_with_querystring N/A N/A self N/A N/A N/A login_url /login/?pretty=1 N/A login_required_url N/A N/A self get_login_required_url login_url N/A querystring N/A QueryDict pretty=1 mutable True N/A N/A querystring N/A next /login_required/ N/A N/A N/A self assertEqual login_required_url N/A http://testserver/login/?%s N/A N/A querystring urlencode / N/A test_remote_login_url_with_next_querystring N/A N/A self N/A N/A N/A login_url http://remote.example.com/login/ N/A login_required_url N/A N/A self get_login_required_url N/A %s?next=/default/ login_url N/A querystring N/A QueryDict mutable True N/A N/A querystring N/A next http://testserver/login_required/ N/A N/A N/A self assertEqual login_required_url N/A %s?%s N/A login_url N/A N/A querystring urlencode / N/A N/A LogoutTest N/A AuthViewsTestCase N/A N/A urls django.contrib.auth.tests.urls confirm_logged_out N/A N/A self N/A N/A N/A N/A N/A self assertTrue N/A SESSION_KEY N/A N/A self client session N/A test_logout_default N/A N/A self N/A N/A N/A Logout without next_page option renders the default template N/A N/A N/A self login N/A response N/A N/A N/A self client get /logout/ N/A N/A N/A self assertEqual 200 N/A response status_code N/A N/A N/A self assertTrue N/A Logged out N/A response content N/A N/A N/A self confirm_logged_out N/A test_14377 N/A N/A self N/A N/A N/A N/A N/A self login N/A response N/A N/A N/A self client get /logout/ N/A N/A N/A self assertTrue N/A site N/A response context N/A test_logout_with_overridden_redirect_url N/A N/A self N/A N/A N/A N/A N/A self login N/A response N/A N/A N/A self client get /logout/next_page/ N/A N/A N/A self assertEqual N/A response status_code 302 N/A N/A N/A self assertTrue N/A N/A N/A response N/A Location endswith /somewhere/ N/A response N/A N/A N/A self client get /logout/next_page/?next=/login/ N/A N/A N/A self assertEqual N/A response status_code 302 N/A N/A N/A self assertTrue N/A N/A N/A response N/A Location endswith /login/ N/A N/A N/A self confirm_logged_out N/A test_logout_with_next_page_specified N/A N/A self N/A N/A N/A Logout with next_page option given redirects to specified resource N/A N/A N/A self login N/A response N/A N/A N/A self client get /logout/next_page/ N/A N/A N/A self assertEqual N/A response status_code 302 N/A N/A N/A self assertTrue N/A N/A N/A response N/A Location endswith /somewhere/ N/A N/A N/A self confirm_logged_out N/A test_logout_with_redirect_argument N/A N/A self N/A N/A N/A Logout with query string redirects to specified resource N/A N/A N/A self login N/A response N/A N/A N/A self client get /logout/?next=/login/ N/A N/A N/A self assertEqual N/A response status_code 302 N/A N/A N/A self assertTrue N/A N/A N/A response N/A Location endswith /login/ N/A N/A N/A self confirm_logged_out N/A test_logout_with_custom_redirect_argument N/A N/A self N/A N/A N/A Logout with custom query string redirects to specified resource N/A N/A N/A self login N/A response N/A N/A N/A self client get /logout/custom_query/?follow=/somewhere/ N/A N/A N/A self assertEqual N/A response status_code 302 N/A N/A N/A self assertTrue N/A N/A N/A response N/A Location endswith /somewhere/ N/A N/A N/A self confirm_logged_out N/A test_security_check N/A N/A self password N/A password N/A N/A logout_url N/A reverse django.contrib.auth.views.logout N/A bad_url N/A http://example.com https://example.com ftp://exampel.com //example.com N/A N/A nasty_url N/A %(url)s?%(next)s=%(bad_url)s N/A url next bad_url logout_url REDIRECT_FIELD_NAME N/A N/A urllib quote bad_url N/A N/A N/A self login N/A response N/A N/A N/A self client get nasty_url N/A N/A N/A self assertEqual N/A response status_code 302 N/A N/A N/A self assertFalse N/A bad_url N/A response N/A Location N/A %s should be blocked bad_url N/A N/A N/A self confirm_logged_out N/A good_url N/A /view/?param=http://example.com /view/?param=https://example.com /view?param=ftp://exampel.com view/?param=//example.com https:/// //testserver/ /url%20with%20spaces/ N/A N/A safe_url N/A %(url)s?%(next)s=%(good_url)s N/A url next good_url logout_url REDIRECT_FIELD_NAME N/A N/A urllib quote good_url N/A N/A N/A self login N/A response N/A N/A N/A self client get safe_url N/A N/A N/A self assertEqual N/A response status_code 302 N/A N/A N/A self assertTrue N/A good_url N/A response N/A Location N/A %s should be allowed good_url N/A N/A N/A self confirm_logged_out N/A N/A