Module Import alias ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias alias alias alias alias alias ImportFrom alias ImportFrom alias alias ImportFrom alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad keyword Str keyword NameLoad Assign AttributeStore NameLoad attr Call NameLoad keyword Str keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Dict Str Str AttributeLoad AttributeLoad NameLoad attr attr Str Assert Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad keyword Dict Str Str AttributeLoad AttributeLoad NameLoad attr attr Str Assert UnaryOpNot Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword NameLoad keyword Dict Str Str AttributeLoad AttributeLoad NameLoad attr attr Str Assert Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad keyword NameLoad keyword Dict Str Str AttributeLoad AttributeLoad NameLoad attr attr Str Assert Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Str Assign NameStore Call NameLoad keyword Dict Str Str AttributeLoad NameLoad attr Str Assert Call AttributeLoad NameLoad attr decorator_list decorator_list Assign NameStore TupleLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad ClassDef bases NameLoad body Assign NameStore Call NameLoad FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Dict decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore SubscriptLoad Call NameLoad Str Index Num Assert CompareIn Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str For TupleStore NameStore NameStore NameLoad body Expr Call NameLoad Call NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr For TupleStore NameStore NameStore NameLoad body Assign SubscriptStore AttributeLoad AttributeLoad NameLoad attr attr Index Str NameLoad If NameLoad body Expr Call NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam defaults body Expr Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad Str decorator_list decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Lambda arguments args defaults Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Lambda arguments args defaults Call NameLoad Str decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Dict Str Str Str Str Str Str Str Str Assert UnaryOpNot Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Dict Str Str Str Str Str Str Str Str Assert Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Dict Str Str Str Str Str Str Str Str Assert UnaryOpNot Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Dict Str Str Str Str Str Str Str Str Assert UnaryOpNot Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Dict Str Str Str Str Str Str Str Str Assert UnaryOpNot Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Dict Str Str Str Str Str Str Str Str Assert UnaryOpNot Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Dict Str Str Str Str Str Str Str Str Assert Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad keyword Dict Str Str Str Str Assert UnaryOpNot Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad keyword Dict Str Str Str Str Str Str Assert UnaryOpNot Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Dict Str Str Assert UnaryOpNot Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad keyword Str keyword NameLoad Assign NameStore Call NameLoad Dict Str AttributeLoad NameLoad attr Assert Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad For TupleStore NameStore NameStore NameLoad body Expr Call NameLoad Call NameLoad NameLoad NameLoad decorator_list decorator_list
N/A N/A re django.forms ValidationError nose.tools eq_ pyquery PyQuery pq kitsune.users.forms AuthenticationForm ProfileForm RegisterForm SetPasswordForm ForgotUsernameForm username_allowed kitsune.sumo.tests TestCase kitsune.users.tests TestCaseBase UserFactory kitsune.users.validators TwitterValidator AuthenticationFormTests N/A TestCaseBase N/A N/A AuthenticationForm tests. setUp N/A N/A self N/A N/A N/A N/A self active_user N/A UserFactory username activeuser is_active True N/A N/A self inactive_user N/A UserFactory username inactiveuser is_active False N/A test_only_active N/A N/A self N/A N/A N/A form N/A AuthenticationForm data N/A username password N/A N/A self active_user username testpass N/A N/A N/A form is_valid N/A form N/A AuthenticationForm data N/A username password N/A N/A self inactive_user username testpass N/A N/A N/A N/A form is_valid N/A test_allow_inactive N/A N/A self N/A N/A N/A form N/A AuthenticationForm only_active False data N/A username password N/A N/A self active_user username testpass N/A N/A N/A form is_valid N/A form N/A AuthenticationForm only_active False data N/A username password N/A N/A self inactive_user username testpass N/A N/A N/A form is_valid N/A test_at_in_username N/A N/A self N/A N/A N/A u N/A UserFactory username test@example.com N/A form N/A AuthenticationForm data N/A username password N/A u username testpass N/A N/A N/A form is_valid N/A N/A N/A FACEBOOK_URLS N/A N/A https://facebook.com/valid True N/A http://www.facebook.com/valid True N/A htt://facebook.com/invalid False N/A http://notfacebook.com/invalid False N/A http://facebook.com/ False ProfileFormTestCase N/A TestCaseBase N/A N/A form N/A ProfileForm setUp N/A N/A self N/A N/A N/A N/A N/A self form cleaned_data N/A N/A test_facebook_pattern_attr N/A N/A self N/A N/A N/A Facebook field has the correct pattern attribute. N/A fragment N/A pq N/A N/A N/A self form as_ul N/A facebook N/A N/A fragment #id_facebook N/A 0 N/A N/A pattern N/A facebook attrib N/A pattern N/A N/A re compile N/A N/A facebook attrib N/A pattern N/A N/A url match FACEBOOK_URLS N/A N/A N/A eq_ N/A bool N/A N/A pattern match url match N/A test_clean_facebook N/A N/A self N/A N/A N/A clean N/A N/A self form clean_facebook N/A N/A url match FACEBOOK_URLS N/A N/A N/A N/A N/A self form cleaned_data N/A facebook url N/A match N/A N/A N/A clean N/A N/A N/A N/A self assertRaises ValidationError clean N/A N/A TwitterValidatorTestCase N/A TestCase N/A setUp N/A N/A self N/A N/A test_valid N/A N/A self N/A N/A N/A N/A TwitterValidator a_valid_name N/A test_has_number N/A N/A self N/A N/A N/A N/A TwitterValidator valid123 N/A test_has_letter_number_underscore N/A N/A self N/A N/A N/A N/A TwitterValidator valid_name_123 N/A N/A test_has_slash N/A N/A self N/A N/A N/A N/A N/A self assertRaises ValidationError N/A N/A N/A N/A N/A TwitterValidator x/ N/A test_has_at_sign N/A N/A self N/A N/A N/A N/A N/A self assertRaises ValidationError N/A N/A N/A N/A N/A TwitterValidator @x N/A N/A RegisterFormTests N/A TestCaseBase N/A N/A RegisterForm tests. test_common_password N/A N/A self N/A N/A N/A form N/A RegisterForm N/A username password password2 email newuser password password newuser@example.com N/A N/A N/A N/A form is_valid N/A test_strong_password N/A N/A self N/A N/A N/A form N/A RegisterForm N/A username password password2 email newuser fksjvaj1 fksjvaj1 newuser@example.com N/A N/A N/A form is_valid N/A test_bad_username N/A N/A self N/A N/A N/A form N/A RegisterForm N/A username password password2 email ass adssadfsadf1 adssadfsadf1 newuser@example.com N/A N/A N/A N/A form is_valid N/A form N/A RegisterForm N/A username password password2 email a.s.s adssadfsadf1 adssadfsadf1 newuser@example.com N/A N/A N/A N/A form is_valid N/A form N/A RegisterForm N/A username password password2 email ass.assassin adssadfsadf1 adssadfsadf1 newuser@example.com N/A N/A N/A N/A form is_valid N/A form N/A RegisterForm N/A username password password2 email ass+assin adssadfsadf1 adssadfsadf1 newuser@example.com N/A N/A N/A N/A form is_valid N/A form N/A RegisterForm N/A username password password2 email assassin adssadfsadf1 adssadfsadf1 newuser@example.com N/A N/A N/A form is_valid N/A N/A SetPasswordFormTests N/A TestCaseBase N/A N/A SetPasswordForm tests. test_common_password N/A N/A self N/A N/A N/A form N/A SetPasswordForm None data N/A new_password1 new_password2 password password N/A N/A N/A N/A form is_valid N/A N/A PasswordChangeFormFormTests N/A TestCaseBase N/A N/A PasswordChangeForm tests. test_common_password N/A N/A self N/A N/A N/A u N/A UserFactory N/A form N/A SetPasswordForm u data N/A new_password1 new_password2 old_password password password testpass N/A N/A N/A N/A form is_valid N/A N/A ForgotUsernameFormTests N/A TestCaseBase N/A N/A ForgotUsernameForm tests. test_email_doesnt_exist N/A N/A self N/A N/A N/A If no account with email exists, form isn't valid. N/A form N/A ForgotUsernameForm N/A email a@b.com N/A N/A N/A N/A form is_valid N/A test_valid_email N/A N/A self N/A N/A N/A "If an account with email exists, form is valid. N/A u N/A UserFactory email a@b.com is_active True N/A form N/A ForgotUsernameForm N/A email N/A u email N/A N/A N/A form is_valid N/A N/A Testusername_allowed N/A TestCase N/A test_good_names N/A N/A self N/A N/A N/A data N/A N/A ana True N/A rlr True N/A anal False N/A N/A name expected data N/A N/A N/A eq_ N/A username_allowed name expected N/A N/A