Module Import alias ImportFrom alias alias ImportFrom alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias alias ImportFrom alias ImportFrom alias alias ImportFrom alias alias alias ClassDef bases NameLoad body Expr Str Assign NameStore Call NameLoad Str keyword Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr keyword Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call NameLoad Num AttributeLoad NameLoad attr Expr Call NameLoad Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad AttributeLoad NameLoad attr keyword Str Expr Call NameLoad Num AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad Num Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad AttributeLoad NameLoad attr keyword SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num Expr Call NameLoad Num AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad Num Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call NameLoad Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword Str Expr Call NameLoad Num AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Dict Str Str Str Str Str Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Expr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd NameLoad Num Expr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assert CompareNotEq AttributeLoad AttributeLoad NameLoad attr attr Str Assert Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Delete SubscriptDel AttributeLoad NameLoad attr Index Str Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call NameLoad AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad keyword SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assert UnaryOpNot Call AttributeLoad NameLoad attr Expr Call NameLoad AttributeLoad NameLoad attr Dict Str ListLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Expr Call NameLoad Call NameLoad AttributeLoad NameLoad attr Num Expr Call NameLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Str Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad Expr Call NameLoad Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad AttributeLoad NameLoad attr Dict Str ListLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign SubscriptStore AttributeLoad NameLoad attr Index Str Str Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call NameLoad Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad AttributeLoad NameLoad attr Dict Str ListLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign SubscriptStore AttributeLoad NameLoad attr Index Str BinOpMult Str Num Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call NameLoad Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad AttributeLoad NameLoad attr Dict Str ListLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign SubscriptStore AttributeLoad NameLoad attr Index Str Str Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call NameLoad Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad AttributeLoad NameLoad attr Dict Str ListLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Call NameLoad keyword NameLoad Expr Call NameLoad keyword NameLoad keyword NameLoad Expr Call NameLoad keyword NameLoad keyword NameLoad Expr Call NameLoad keyword NameLoad keyword NameLoad Expr Call NameLoad keyword NameLoad Expr Call NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad keyword NameLoad Expr Call NameLoad keyword NameLoad Assign AttributeStore NameLoad attr Call NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Num Expr Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Num Expr Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore AttributeLoad NameLoad attr Expr Call NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Str Assign NameStore Call NameLoad Str keyword ListLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call NameLoad AttributeLoad NameLoad attr Num Expr Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr Assign NameStore Call NameLoad Str keyword ListLoad AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Dict Expr Call NameLoad AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr Assign NameStore Call NameLoad Str keyword ListLoad AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call NameLoad AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str Expr Call NameLoad AttributeLoad NameLoad attr Num Expr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd NameLoad Num Assign NameStore SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Index Num Expr Call NameLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str AttributeLoad NameLoad attr Assert CompareIn Str AttributeLoad NameLoad attr Assert CompareIn Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str Expr Call NameLoad AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call NameLoad AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore BinOpSub Call AttributeLoad NameLoad attr Call NameLoad keyword Num Expr Call NameLoad keyword NameLoad Expr Call NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str Expr Call NameLoad AttributeLoad NameLoad attr Num Expr Call NameLoad Call NameLoad AttributeLoad NameLoad attr Num Assign NameStore ListLoad Assign NameStore Num For NameStore Call NameLoad Num body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr NameLoad AugAssignSub NameStore Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str Expr Call NameLoad AttributeLoad NameLoad attr Num Expr Call NameLoad Call NameLoad AttributeLoad NameLoad attr Num Assign NameStore ListComp TupleLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str comprehension NameStore AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Slice Num Expr Call NameLoad Call NameLoad NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call NameLoad Str keyword ListLoad AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call NameLoad Str keyword ListLoad AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assert CompareNotIn Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr Assign NameStore Call NameLoad Str keyword ListLoad AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Dict Str Str Str Str Expr Call NameLoad AttributeLoad NameLoad attr Num Expr Call NameLoad AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr keyword Str keyword Str Assign NameStore Call NameLoad Str keyword ListLoad AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Dict Str Str Str Str Expr Call NameLoad AttributeLoad NameLoad attr Num Expr Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr Expr Call NameLoad AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr Assign NameStore Call NameLoad Str keyword ListLoad AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Dict Str AttributeLoad NameLoad attr Expr Call NameLoad AttributeLoad NameLoad attr Num Expr Call NameLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr Assign NameStore Call NameLoad Str keyword ListLoad AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Dict Str AttributeLoad NameLoad attr Expr Call NameLoad AttributeLoad NameLoad attr Num Expr Call NameLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr Assign NameStore Call NameLoad Str keyword ListLoad AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Dict Str Str Expr Call NameLoad AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str Assign NameStore Call NameLoad Str keyword ListLoad AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str ListLoad Dict Str Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str Assign NameStore Call NameLoad Str keyword ListLoad AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assert CompareNotIn Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call NameLoad Str keyword ListLoad AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assert CompareIn Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Str Assign NameStore Call NameLoad Assign NameStore Call NameLoad Str keyword ListLoad AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call NameLoad AttributeLoad NameLoad attr Num Expr Call NameLoad Num Call NameLoad AttributeLoad NameLoad attr decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call NameLoad Str keyword ListLoad AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assert CompareIn Str SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Dict Str Num Assert CompareIn Str SubscriptLoad AttributeLoad NameLoad attr Index Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad Str attr Call NameLoad Assign NameStore Call NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Dict Str Str Str NameLoad Str Str Expr Call NameLoad AttributeLoad NameLoad attr Num Expr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd NameLoad Num Assign NameStore SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Index Num Expr Call NameLoad AttributeLoad NameLoad attr NameLoad Expr Call NameLoad AttributeLoad NameLoad attr Str Expr Call NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Str attr Call NameLoad Assign NameStore Call NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Dict Str Str Str NameLoad Str Str Expr Call NameLoad AttributeLoad NameLoad attr Num Expr Call NameLoad AttributeLoad NameLoad attr Dict Str ListLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Dict Str Str Str Str Str Str Expr Call NameLoad AttributeLoad NameLoad attr Num Expr Call NameLoad AttributeLoad NameLoad attr Dict Str ListLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Dict Str Str Str Str Str Str Expr Call NameLoad AttributeLoad NameLoad attr Num Expr Call NameLoad AttributeLoad NameLoad attr Dict Str ListLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Dict Str Str Str BinOpMult Str Num Str Str Expr Call NameLoad AttributeLoad NameLoad attr Num Expr Call NameLoad AttributeLoad NameLoad attr Dict Str ListLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore Dict Str Str Str Str NameLoad Str AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Str keyword ListLoad AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call NameLoad AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr Expr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list decorator_list
N/A N/A json datetime datetime timedelta random random N/A mock django.contrib.auth.models User django.contrib.sites.models Site django.core mail nose.tools eq_ rest_framework.test APIClient kitsune.sumo.templatetags.jinja_helpers urlparams kitsune.sumo.tests TestCase kitsune.sumo.urlresolvers reverse kitsune.questions.tests QuestionFactory AnswerFactory AnswerVoteFactory SolutionAnswerFactory kitsune.users api kitsune.users.models Profile Setting kitsune.users.tests ProfileFactory SettingFactory UserFactory UsernamesTests N/A TestCase N/A N/A Test the usernames API method. N/A url N/A reverse users.api.usernames locale en-US setUp N/A N/A self N/A N/A N/A N/A self u N/A UserFactory username testUser N/A N/A N/A N/A self client login username N/A N/A self u username password testpass N/A tearDown N/A N/A self N/A N/A N/A N/A N/A N/A self client logout N/A test_no_query N/A N/A self N/A N/A N/A res N/A N/A N/A self client get N/A self url N/A N/A eq_ 200 N/A res status_code N/A N/A eq_ [] N/A res content N/A test_query_old N/A N/A self N/A N/A N/A res N/A N/A N/A self client get N/A urlparams N/A self url term a N/A N/A eq_ 200 N/A res status_code N/A data N/A N/A json loads N/A res content N/A N/A eq_ 0 N/A len data N/A test_query_current N/A N/A self N/A N/A N/A res N/A N/A N/A self client get N/A urlparams N/A self url term N/A N/A N/A self u username N/A 0 N/A N/A eq_ 200 N/A res status_code N/A data N/A N/A json loads N/A res content N/A N/A eq_ 1 N/A len data N/A test_post N/A N/A self N/A N/A N/A res N/A N/A N/A self client post N/A self url N/A N/A eq_ 405 N/A res status_code N/A test_logged_out N/A N/A self N/A N/A N/A N/A N/A N/A self client logout N/A res N/A N/A N/A self client get N/A self url HTTP_X_REQUESTED_WITH XMLHttpRequest N/A N/A eq_ 403 N/A res status_code N/A N/A TestUserSerializer N/A TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self request N/A N/A mock Mock N/A N/A self data N/A username display_name password email bobb Bobbert the Seventh testpass bobb@example.com N/A test_user_created N/A N/A self N/A N/A N/A number_users N/A N/A N/A User objects count N/A serializer N/A N/A api ProfileSerializer data N/A self data N/A N/A N/A serializer is_valid raise_exception True N/A N/A N/A serializer save N/A N/A eq_ N/A N/A N/A User objects count N/A number_users 1 N/A N/A eq_ N/A N/A N/A Profile objects count 1 N/A test_password N/A N/A self N/A N/A N/A serializer N/A N/A api ProfileSerializer data N/A self data N/A N/A N/A serializer is_valid raise_exception True N/A obj N/A N/A serializer save N/A N/A N/A N/A obj user password testpass N/A N/A N/A N/A obj user check_password testpass N/A test_automatic_display_name N/A N/A self N/A N/A N/A N/A N/A self data N/A display_name N/A serializer N/A N/A api ProfileSerializer data N/A self data N/A N/A N/A serializer is_valid raise_exception True N/A obj N/A N/A serializer save N/A N/A eq_ N/A obj name bobb N/A test_no_duplicate_emails N/A N/A self N/A N/A N/A N/A UserFactory email N/A N/A self data N/A email N/A serializer N/A N/A api ProfileSerializer data N/A self data N/A N/A N/A N/A serializer is_valid N/A N/A eq_ N/A serializer errors N/A email N/A A user with that email address already exists. N/A test_users_with_emails_are_inactive N/A N/A self N/A N/A N/A serializer N/A N/A api ProfileSerializer data N/A self data N/A N/A N/A serializer is_valid raise_exception True N/A obj N/A N/A serializer save N/A N/A eq_ N/A N/A obj user is_active False N/A test_users_with_emails_get_confirmation_email N/A N/A self N/A N/A N/A serializer N/A N/A api ProfileSerializer data N/A self data N/A N/A N/A serializer is_valid raise_exception True N/A N/A N/A serializer save N/A N/A eq_ N/A len N/A mail outbox 1 N/A N/A eq_ N/A N/A N/A mail outbox N/A 0 subject Please confirm your email address N/A test_cant_update_username N/A N/A self N/A N/A N/A p N/A ProfileFactory user__username notbob N/A serializer N/A N/A api ProfileSerializer data N/A self data instance p N/A N/A eq_ N/A N/A serializer is_valid False N/A N/A eq_ N/A serializer errors N/A username N/A Can't change this field. N/A test_username_bad_chars N/A N/A self N/A N/A N/A N/A N/A self data N/A username bobb@example.com N/A serializer N/A N/A api ProfileSerializer data N/A self data N/A N/A eq_ N/A N/A serializer is_valid False N/A N/A eq_ N/A serializer errors N/A username N/A Usernames may only be letters, numbers, "." and "-". N/A test_username_too_long N/A N/A self N/A N/A N/A N/A N/A self data N/A username N/A B 31 N/A serializer N/A N/A api ProfileSerializer data N/A self data N/A N/A eq_ N/A N/A serializer is_valid False N/A N/A eq_ N/A serializer errors N/A username N/A Usernames may only be letters, numbers, "." and "-". N/A test_username_too_short N/A N/A self N/A N/A N/A N/A N/A self data N/A username bob N/A serializer N/A N/A api ProfileSerializer data N/A self data N/A N/A eq_ N/A N/A serializer is_valid False N/A N/A eq_ N/A serializer errors N/A username N/A Usernames may only be letters, numbers, "." and "-". N/A test_helpfulness N/A N/A self N/A N/A N/A u N/A UserFactory N/A p N/A u profile N/A a1 N/A AnswerFactory creator u N/A a2 N/A AnswerFactory creator u N/A N/A AnswerVoteFactory answer a1 helpful True N/A N/A AnswerVoteFactory answer a2 helpful True N/A N/A AnswerVoteFactory answer a2 helpful True N/A N/A AnswerVoteFactory creator u N/A N/A AnswerVoteFactory answer a1 helpful False N/A serializer N/A N/A api ProfileSerializer instance p N/A N/A eq_ N/A N/A serializer data N/A helpfulness 3 N/A test_counts N/A N/A self N/A N/A N/A u N/A UserFactory N/A p N/A u profile N/A q N/A QuestionFactory creator u N/A N/A AnswerFactory creator u N/A N/A q solution N/A AnswerFactory question q creator u N/A N/A N/A q save N/A serializer N/A N/A api ProfileSerializer instance p N/A N/A eq_ N/A N/A serializer data N/A question_count 1 N/A N/A eq_ N/A N/A serializer data N/A answer_count 2 N/A N/A eq_ N/A N/A serializer data N/A solution_count 1 N/A test_last_answer_date N/A N/A self N/A N/A N/A p N/A ProfileFactory N/A u N/A p user N/A N/A AnswerFactory creator u N/A serializer N/A N/A api ProfileSerializer instance p N/A N/A eq_ N/A N/A serializer data N/A last_answer_date N/A N/A N/A N/A u answers last created N/A N/A TestUserView N/A TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self client N/A APIClient N/A test_usernames_with_periods N/A N/A self N/A N/A N/A u N/A UserFactory username something.something N/A url N/A reverse user-detail args N/A N/A u username N/A res N/A N/A N/A self client get url N/A N/A eq_ N/A res status_code 200 N/A N/A eq_ N/A N/A res data N/A username N/A u username N/A test_only_self_edits N/A N/A self N/A N/A N/A p1 N/A ProfileFactory N/A p2 N/A ProfileFactory N/A N/A N/A N/A self client force_authenticate user N/A p2 user N/A url N/A reverse user-detail args N/A N/A N/A p1 user username N/A res N/A N/A N/A self client patch url N/A N/A N/A eq_ N/A res status_code 403 N/A test_cant_delete N/A N/A self N/A N/A N/A p N/A ProfileFactory N/A N/A N/A N/A self client force_authenticate user N/A p user N/A url N/A reverse user-detail args N/A N/A N/A p user username N/A res N/A N/A N/A self client delete url N/A N/A eq_ N/A res status_code 405 N/A test_generator_on_stage N/A N/A self N/A N/A N/A old_user_count N/A N/A N/A User objects count N/A res N/A N/A N/A self client post N/A reverse user-generate N/A N/A eq_ N/A res status_code 200 N/A N/A eq_ N/A N/A N/A User objects count N/A old_user_count 1 N/A new_user N/A N/A N/A N/A User objects order_by -id N/A 0 N/A N/A eq_ N/A N/A N/A res data N/A user N/A username N/A new_user username N/A N/A password N/A res data N/A N/A token N/A res data N/A test_generated_users_tagged N/A N/A self N/A N/A N/A res N/A N/A N/A self client post N/A reverse user-generate N/A N/A eq_ N/A res status_code 200 N/A profile N/A N/A N/A Profile objects get N/A N/A eq_ N/A N/A N/A N/A profile settings get name autogenerated value true N/A test_weekly_solutions N/A N/A self N/A N/A N/A eight_days_ago N/A N/A N/A datetime now N/A timedelta days 8 N/A N/A SolutionAnswerFactory created eight_days_ago N/A N/A AnswerFactory N/A res N/A N/A N/A self client get N/A reverse user-weekly-solutions N/A N/A eq_ N/A res status_code 200 N/A N/A eq_ N/A len N/A res data 0 N/A user_info_list N/A N/A top_answer_number 15 N/A i N/A range 12 N/A N/A user N/A UserFactory N/A N/A N/A SolutionAnswerFactory create_batch top_answer_number creator user N/A N/A N/A user_info_list append N/A N/A user username top_answer_number N/A top_answer_number 1 N/A res N/A N/A N/A self client get N/A reverse user-weekly-solutions N/A N/A eq_ N/A res status_code 200 N/A N/A eq_ N/A len N/A res data 10 N/A data_list N/A N/A N/A data N/A username N/A data N/A weekly_solutions N/A data N/A res data N/A top_ten N/A user_info_list N/A 10 N/A N/A eq_ N/A sorted top_ten N/A sorted data_list N/A test_email_visible_when_signed_in N/A N/A self N/A N/A N/A p N/A ProfileFactory N/A url N/A reverse user-detail args N/A N/A N/A p user username N/A N/A N/A N/A self client force_authenticate user N/A p user N/A res N/A N/A N/A self client get url N/A N/A eq_ N/A N/A res data N/A email N/A N/A p user email N/A test_email_not_visible_when_signed_out N/A N/A self N/A N/A N/A p N/A ProfileFactory N/A url N/A reverse user-detail args N/A N/A N/A p user username N/A res N/A N/A N/A self client get url N/A N/A email N/A res data N/A test_set_setting_add N/A N/A self N/A N/A N/A p N/A ProfileFactory N/A N/A N/A N/A self client force_authenticate user N/A p user N/A url N/A reverse user-set-setting args N/A N/A N/A p user username N/A res N/A N/A N/A self client post url N/A name value foo bar N/A N/A eq_ N/A res status_code 200 N/A N/A eq_ N/A N/A N/A N/A p settings get name foo value bar N/A test_set_setting_update N/A N/A self N/A N/A N/A p N/A ProfileFactory N/A N/A N/A N/A self client force_authenticate user N/A p user N/A s N/A SettingFactory user N/A p user name favorite_fruit value apple N/A url N/A reverse user-set-setting args N/A N/A N/A p user username N/A res N/A N/A N/A self client post url N/A name value favorite_fruit banana N/A N/A eq_ N/A res status_code 200 N/A N/A eq_ N/A N/A res data N/A value banana N/A s N/A N/A N/A Setting objects get id N/A s id N/A N/A eq_ N/A s value banana N/A test_delete_setting_exists_with_post N/A N/A self N/A N/A N/A p N/A ProfileFactory N/A N/A N/A N/A self client force_authenticate user N/A p user N/A s N/A SettingFactory user N/A p user N/A url N/A reverse user-delete-setting args N/A N/A N/A p user username N/A res N/A N/A N/A self client post url N/A name N/A s name N/A N/A eq_ N/A res status_code 204 N/A N/A eq_ N/A N/A N/A N/A N/A p settings filter name N/A s name count 0 N/A test_delete_setting_exists_with_delete N/A N/A self N/A N/A N/A p N/A ProfileFactory N/A N/A N/A N/A self client force_authenticate user N/A p user N/A s N/A SettingFactory user N/A p user N/A url N/A reverse user-delete-setting args N/A N/A N/A p user username N/A res N/A N/A N/A self client delete url N/A name N/A s name N/A N/A eq_ N/A res status_code 204 N/A N/A eq_ N/A N/A N/A N/A N/A p settings filter name N/A s name count 0 N/A test_delete_setting_404 N/A N/A self N/A N/A N/A p N/A ProfileFactory N/A N/A N/A N/A self client force_authenticate user N/A p user N/A url N/A reverse user-delete-setting args N/A N/A N/A p user username N/A res N/A N/A N/A self client post url N/A name nonexistant N/A N/A eq_ N/A res status_code 404 N/A test_settings_visible_when_signed_in N/A N/A self N/A N/A N/A p N/A ProfileFactory N/A N/A N/A N/A p settings create name foo value bar N/A url N/A reverse user-detail args N/A N/A N/A p user username N/A N/A N/A N/A self client force_authenticate user N/A p user N/A res N/A N/A N/A self client get url N/A N/A eq_ N/A N/A res data N/A settings N/A N/A name value foo bar N/A test_settings_not_visible_when_signed_out N/A N/A self N/A N/A N/A p N/A ProfileFactory N/A N/A N/A N/A p settings create name foo value bar N/A url N/A reverse user-detail args N/A N/A N/A p user username N/A res N/A N/A N/A self client get url N/A N/A settings N/A res data N/A test_is_active N/A N/A self N/A N/A N/A p N/A ProfileFactory N/A url N/A reverse user-detail args N/A N/A N/A p user username N/A res N/A N/A N/A self client get url N/A N/A is_active N/A res data N/A test_request_password_reset N/A N/A self get_current N/A N/A N/A N/A N/A get_current return_value domain testserver N/A p N/A ProfileFactory N/A url N/A reverse user-request-password-reset args N/A N/A N/A p user username N/A res N/A N/A N/A self client get url N/A N/A eq_ N/A res status_code 204 N/A N/A eq_ 1 N/A len N/A mail outbox N/A N/A N/A N/A mock patch object N/A Site objects get_current test_avatar_size N/A N/A self N/A N/A N/A p N/A ProfileFactory N/A url N/A reverse user-detail args N/A N/A N/A p user username N/A res N/A N/A N/A self client get url N/A N/A ?s=48 N/A N/A res data N/A avatar N/A res N/A N/A N/A self client get url N/A avatar_size 128 N/A N/A ?s=128 N/A N/A res data N/A avatar N/A test_create_user N/A N/A self N/A N/A N/A number_users N/A N/A N/A User objects count N/A username N/A N/A kris-{} format N/A random N/A url N/A reverse user-list N/A res N/A N/A N/A self client post url N/A username password email username testpass kris@example.com N/A N/A eq_ N/A res status_code 201 N/A N/A eq_ N/A N/A N/A User objects count N/A number_users 1 N/A u N/A N/A N/A N/A User objects order_by -id N/A 0 N/A N/A eq_ N/A u username username N/A N/A eq_ N/A u email kris@example.com N/A N/A eq_ N/A u is_active False N/A test_invalid_email N/A N/A self N/A N/A N/A username N/A N/A sarah-{} format N/A random N/A url N/A reverse user-list N/A res N/A N/A N/A self client post url N/A username password email username testpass sarah N/A N/A eq_ N/A res status_code 400 N/A N/A eq_ N/A res data N/A email N/A Enter a valid email address. N/A test_invalid_username N/A N/A self N/A N/A N/A url N/A reverse user-list N/A res N/A N/A N/A self client post url N/A username password email & testpass lucy@example.com N/A N/A eq_ N/A res status_code 400 N/A N/A eq_ N/A res data N/A username N/A Usernames may only be letters, numbers, "." and "-". N/A test_too_short_username N/A N/A self N/A N/A N/A url N/A reverse user-list N/A res N/A N/A N/A self client post url N/A username password email a testpass lucy@example.com N/A N/A eq_ N/A res status_code 400 N/A N/A eq_ N/A res data N/A username N/A Usernames may only be letters, numbers, "." and "-". N/A test_too_long_username N/A N/A self N/A N/A N/A url N/A reverse user-list N/A res N/A N/A N/A self client post url N/A username password email N/A a 100 testpass lucy@example.com N/A N/A eq_ N/A res status_code 400 N/A N/A eq_ N/A res data N/A username N/A Usernames may only be letters, numbers, "." and "-". N/A test_change_user_with_patch N/A N/A self N/A N/A N/A user N/A UserFactory N/A new_display_name N/A N/A N/A N/A user profile name upper N/A data N/A display_name locale username password new_display_name en-US N/A user username testpass N/A url N/A reverse user-detail args N/A N/A user username N/A N/A N/A N/A self client force_authenticate user user N/A res N/A N/A N/A self client patch url data N/A N/A eq_ N/A res status_code 200 N/A user N/A N/A N/A User objects get id N/A user id N/A N/A eq_ N/A N/A user profile display_name new_display_name N/A N/A