Module ImportFrom alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias alias ImportFrom alias alias alias ImportFrom alias alias alias alias ImportFrom alias alias alias alias ImportFrom alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Assign NameStore NameLoad For NameStore Call NameLoad body If CompareIs Call NameLoad NameLoad NameLoad body Break Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list Call NameLoad ListLoad Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list Call NameLoad ListLoad Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore ListLoad Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore ListLoad Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareIn NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareIn NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list Call NameLoad ListLoad Str Str decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Call NameLoad ListLoad Str Str Str Str Str FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Call NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call NameLoad AttributeLoad NameLoad attr Assign NameStore ListComp AttributeLoad NameLoad attr comprehension NameStore NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str ClassDef bases NameLoad body Assign NameStore Str Assign NameStore Str decorator_list Expr Call NameLoad NameLoad Assign NameStore Call NameLoad Call NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad BinOpAdd Call NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str ClassDef bases NameLoad body Assign NameStore Str Assign NameStore Str decorator_list Expr Call NameLoad NameLoad With Call AttributeLoad NameLoad attr NameLoad body Expr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str ClassDef bases NameLoad body Assign NameStore Str Assign NameStore Str decorator_list Expr Call NameLoad NameLoad Expr Call NameLoad NameLoad Assign NameStore Call NameLoad Call NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str ClassDef bases NameLoad body Assign NameStore Str Assign NameStore Str decorator_list With Call AttributeLoad NameLoad attr NameLoad body Expr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str ClassDef bases NameLoad body Assign NameStore Str Assign NameStore Str decorator_list ClassDef bases NameLoad body Assign NameStore Str decorator_list Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str ClassDef bases NameLoad body Assign NameStore Str decorator_list ClassDef bases NameLoad body Assign NameStore Str Assign NameStore Str Assign NameStore ListLoad NameLoad decorator_list Expr Call NameLoad NameLoad With Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str ClassDef bases NameLoad body Assign NameStore Str decorator_list ClassDef bases NameLoad body Assign NameStore Str Assign NameStore Str Assign NameStore ListLoad NameLoad decorator_list Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str ClassDef bases NameLoad body Assign NameStore Str decorator_list ClassDef bases NameLoad body Assign NameStore Str Assign NameStore Str decorator_list Expr Call NameLoad NameLoad With Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str ClassDef bases NameLoad body Assign NameStore Str decorator_list ClassDef bases NameLoad body Assign NameStore Str Assign NameStore Str Assign NameStore ListLoad NameLoad decorator_list Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad NameLoad Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str ClassDef bases NameLoad body Assign NameStore Str Assign NameStore Str decorator_list ClassDef bases NameLoad body Assign NameStore Str decorator_list Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad NameLoad Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore ListLoad TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str FunctionDef arguments args NameParam defaults body Expr Str For TupleStore NameStore NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad Str NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore ListLoad Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword Num keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad NameLoad Index Num attr NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad AttributeLoad SubscriptLoad NameLoad Index Num attr attr Index Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword Num keyword NameLoad Delete SubscriptDel AttributeLoad NameLoad attr Index Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad NameLoad Index Num attr NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad AttributeLoad SubscriptLoad NameLoad Index Num attr attr Index Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword Num keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad NameLoad Index Num attr NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad AttributeLoad SubscriptLoad NameLoad Index Num attr attr Index Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword Num keyword NameLoad Delete SubscriptDel AttributeLoad NameLoad attr Index Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad NameLoad Index Num attr NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad AttributeLoad SubscriptLoad NameLoad Index Num attr attr Index Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword Num keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Str Assign NameStore Str Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Raise NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Raise NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Raise NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Raise NameLoad decorator_list decorator_list ClassDef bases NameLoad NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str keyword Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad keyword Lambda arguments args defaults ListLoad Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Lambda arguments args NameParam NameParam NameParam defaults NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Dict Str AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Str Lambda arguments args defaults Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Dict Str Str Str AttributeLoad AttributeLoad NameLoad attr attr Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Dict Str Str Str Str Str Str Str Str Assign AttributeStore AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Dict Str Str Str Str Str Str Str Str Assign AttributeStore AttributeLoad NameLoad attr attr Str Assign AttributeStore AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list
N/A __future__ unicode_literals N/A re django.contrib messages django.contrib.auth.models User django.core.exceptions ValidationError django.test.client RequestFactory djblets.registries.errors ItemLookupError RegistrationError djblets.testing.decorators add_fixtures kgb SpyAgency reviewboard.accounts.backends AuthBackend get_enabled_auth_backends INVALID_USERNAME_CHAR_REGEX StandardAuthBackend reviewboard.accounts.forms.pages AccountPageForm ChangePasswordForm ProfileForm reviewboard.accounts.models LocalSiteProfile Profile ReviewRequestVisit Trophy reviewboard.accounts.pages AccountPage get_page_classes register_account_page_class unregister_account_page_class reviewboard.testing TestCase AuthBackendTests N/A TestCase N/A N/A Testing authentication backends. _get_standard_auth_backend N/A N/A self N/A N/A N/A backend None N/A backend N/A get_enabled_auth_backends N/A N/A N/A N/A type backend StandardAuthBackend N/A N/A N/A N/A N/A self assertIs N/A type backend StandardAuthBackend N/A backend N/A test_get_or_create_user_exists N/A N/A self N/A N/A N/A Testing StandardAuthBackend.get_or_create_user when the requested
        user already exists
         N/A original_count N/A N/A N/A User objects count N/A user N/A N/A N/A User objects get username doc N/A backend N/A N/A self _get_standard_auth_backend N/A result N/A N/A backend get_or_create_user doc None N/A N/A N/A self assertEqual original_count N/A N/A N/A User objects count N/A N/A N/A self assertEqual user result N/A N/A add_fixtures N/A test_users test_get_or_create_user_new N/A N/A self N/A N/A N/A Testing StandardAuthBackend.get_or_create_user when the requested
        user does not exist
         N/A backend N/A N/A self _get_standard_auth_backend N/A N/A N/A self assertIsInstance backend StandardAuthBackend N/A user N/A N/A backend get_or_create_user doc None N/A N/A N/A self assertIsNone user N/A test_get_user_exists N/A N/A self N/A N/A N/A Testing StandardAuthBackend.get_user when the requested user already
        exists
         N/A user N/A N/A N/A User objects get username doc N/A backend N/A N/A self _get_standard_auth_backend N/A result N/A N/A backend get_user N/A user pk N/A N/A N/A self assertEqual user result N/A N/A add_fixtures N/A test_users test_get_user_not_exists N/A N/A self N/A N/A N/A Testing StandardAuthBackend.get_user when the requested user does
        not exist
         N/A backend N/A N/A self _get_standard_auth_backend N/A result N/A N/A backend get_user 1 N/A N/A N/A self assertIsNone result N/A N/A ReviewRequestVisitTests N/A TestCase N/A N/A Testing the ReviewRequestVisit model N/A fixtures N/A test_users test_default_visibility N/A N/A self N/A N/A N/A Testing default value of ReviewRequestVisit.visibility N/A review_request N/A N/A self create_review_request publish True N/A N/A N/A N/A self client login username admin password admin N/A N/A N/A N/A self client get N/A N/A review_request get_absolute_url N/A visit N/A N/A N/A ReviewRequestVisit objects get user__username admin review_request N/A review_request id N/A N/A N/A self assertEqual N/A visit visibility N/A ReviewRequestVisit VISIBLE N/A N/A ProfileTests N/A TestCase N/A N/A Test the Profile model. N/A fixtures N/A test_users test_is_profile_visible_with_public N/A N/A self N/A N/A N/A Testing User.is_profile_public with public profiles. N/A user1 N/A N/A N/A User objects get username admin N/A user2 N/A N/A N/A User objects get username doc N/A N/A N/A self assertTrue N/A N/A user1 is_profile_visible user2 N/A test_is_profile_visible_with_private N/A N/A self N/A N/A N/A Testing User.is_profile_public with private profiles. N/A user1 N/A N/A N/A User objects get username admin N/A user2 N/A N/A N/A User objects get username doc N/A profile N/A N/A user1 get_profile N/A N/A profile is_private True N/A N/A N/A profile save N/A N/A N/A self assertFalse N/A N/A user1 is_profile_visible user2 N/A N/A N/A self assertTrue N/A N/A user1 is_profile_visible user1 N/A N/A user2 is_staff True N/A N/A N/A self assertTrue N/A N/A user1 is_profile_visible user2 N/A test_is_star_unstar_updating_count_correctly N/A N/A self N/A N/A N/A Testing if star, unstar affect review request counts correctly. N/A user1 N/A N/A N/A User objects get username admin N/A profile1 N/A N/A user1 get_profile N/A review_request N/A N/A self create_review_request publish True N/A site_profile N/A N/A N/A profile1 site_profiles get local_site None N/A N/A N/A profile1 star_review_request review_request N/A site_profile N/A N/A N/A LocalSiteProfile objects get pk N/A site_profile pk N/A N/A N/A self assertTrue N/A review_request N/A N/A N/A profile1 starred_review_requests all N/A N/A N/A self assertEqual N/A site_profile starred_public_request_count 1 N/A N/A N/A profile1 unstar_review_request review_request N/A site_profile N/A N/A N/A LocalSiteProfile objects get pk N/A site_profile pk N/A N/A N/A self assertFalse N/A review_request N/A N/A N/A profile1 starred_review_requests all N/A N/A N/A self assertEqual N/A site_profile starred_public_request_count 0 N/A N/A add_fixtures N/A test_scmtools test_site N/A AccountPageTests N/A TestCase N/A N/A Test account page functionality. N/A builtin_pages N/A set N/A settings authentication profile groups api-tokens tearDown N/A N/A self N/A N/A N/A Uninitialize this test case. N/A N/A N/A N/A super AccountPageTests self tearDown N/A N/A N/A N/A AccountPage registry reset N/A test_default_pages N/A N/A self N/A N/A N/A Testing default list of account pages. N/A page_classes N/A list N/A get_page_classes N/A N/A N/A self assertEqual N/A len page_classes N/A len N/A self builtin_pages N/A page_class_ids N/A N/A page_cls page_id N/A page_cls page_classes N/A N/A N/A self assertEqual N/A set page_class_ids N/A self builtin_pages N/A test_register_account_page_class N/A N/A self N/A N/A N/A Testing register_account_page_class. MyPage N/A AccountPage N/A N/A page_id test-page N/A page_title Test Page N/A N/A N/A register_account_page_class MyPage N/A page_classes N/A list N/A get_page_classes N/A N/A N/A self assertEqual N/A len page_classes N/A N/A len N/A self builtin_pages 1 N/A N/A N/A self assertEqual N/A page_classes N/A -1 MyPage N/A test_register_account_page_class_with_duplicate N/A N/A self N/A N/A N/A Testing register_account_page_class with duplicate page. MyPage N/A AccountPage N/A N/A page_id test-page N/A page_title Test Page N/A N/A N/A register_account_page_class MyPage N/A N/A N/A self assertRaises RegistrationError N/A N/A N/A register_account_page_class MyPage N/A test_unregister_account_page_class N/A N/A self N/A N/A N/A Testing unregister_account_page_class. MyPage N/A AccountPage N/A N/A page_id test-page N/A page_title Test Page N/A N/A N/A register_account_page_class MyPage N/A N/A unregister_account_page_class MyPage N/A page_classes N/A list N/A get_page_classes N/A N/A N/A self assertEqual N/A len page_classes N/A len N/A self builtin_pages N/A test_unregister_unknown_account_page_class N/A N/A self N/A N/A N/A Testing unregister_account_page_class with unknown page. MyPage N/A AccountPage N/A N/A page_id test-page N/A page_title Test Page N/A N/A N/A N/A self assertRaises ItemLookupError N/A N/A N/A unregister_account_page_class MyPage N/A test_add_form_to_page N/A N/A self N/A N/A N/A Testing AccountPage.add_form. MyPage N/A AccountPage N/A N/A page_id test-page N/A page_title Test Page N/A MyForm N/A AccountPageForm N/A N/A form_id test-form N/A N/A N/A register_account_page_class MyPage N/A N/A N/A MyPage add_form MyForm N/A N/A N/A self assertEqual N/A MyPage form_classes N/A MyForm N/A test_add_duplicate_form_to_page N/A N/A self N/A N/A N/A Testing AccountPage.add_form with duplicate form ID. MyForm N/A AccountPageForm N/A N/A form_id test-form N/A MyPage N/A AccountPage N/A N/A page_id test-page N/A page_title Test Page N/A form_classes N/A MyForm N/A N/A N/A register_account_page_class MyPage N/A N/A N/A self assertRaises RegistrationError N/A N/A N/A N/A MyPage add_form MyForm N/A N/A N/A self assertEqual N/A MyPage form_classes N/A MyForm N/A test_remove_form_from_page N/A N/A self N/A N/A N/A Testing AccountPage.remove_form. MyForm N/A AccountPageForm N/A N/A form_id test-form N/A MyPage N/A AccountPage N/A N/A page_id test-page N/A page_title Test Page N/A form_classes N/A MyForm N/A N/A N/A register_account_page_class MyPage N/A N/A N/A MyPage remove_form MyForm N/A N/A N/A self assertEqual N/A MyPage form_classes N/A N/A test_remove_unknown_form_from_page N/A N/A self N/A N/A N/A Testing AccountPage.remove_form with unknown form. MyForm N/A AccountPageForm N/A N/A form_id test-form N/A MyPage N/A AccountPage N/A N/A page_id test-page N/A page_title Test Page N/A N/A N/A register_account_page_class MyPage N/A N/A N/A self assertRaises ItemLookupError N/A N/A N/A N/A MyPage remove_form MyForm N/A test_default_form_classes_for_page N/A N/A self N/A N/A N/A Testing AccountPage._default_form_classes persistence MyForm N/A AccountPageForm N/A N/A form_id test-form N/A MyPage N/A AccountPage N/A N/A page_id test-page N/A page_title Test Page N/A form_classes N/A MyForm N/A N/A N/A register_account_page_class MyPage N/A N/A N/A self assertEqual N/A MyPage form_classes N/A MyForm N/A N/A unregister_account_page_class MyPage N/A N/A N/A self assertEqual N/A MyPage form_classes N/A N/A N/A register_account_page_class MyPage N/A N/A N/A self assertEqual N/A MyPage form_classes N/A MyForm N/A test_empty_default_form_classes_for_page N/A N/A self N/A N/A N/A Testing AccountPage._default_form_classes with no form_classes MyPage N/A AccountPage N/A N/A page_id test-page N/A page_title Test Page N/A MyForm N/A AccountPageForm N/A N/A form_id test-form N/A N/A N/A register_account_page_class MyPage N/A N/A N/A self assertEqual N/A MyPage form_classes N/A N/A N/A N/A MyPage add_form MyForm N/A N/A N/A self assertEqual N/A MyPage form_classes N/A MyForm N/A N/A unregister_account_page_class MyPage N/A N/A N/A self assertEqual N/A MyPage form_classes N/A N/A N/A register_account_page_class MyPage N/A N/A N/A self assertEqual N/A MyPage form_classes N/A N/A N/A UsernameTests N/A TestCase N/A N/A Unit tests for username rules. N/A cases N/A N/A spaces   spaces N/A spa ces spaces N/A CASES cases N/A CaSeS cases N/A Spec!al specal N/A email@example.com email@example.com N/A da-shes da-shes N/A un_derscores un_derscores N/A mu ^lt&^ipl Es multiples test N/A N/A self N/A N/A N/A Testing username regex for LDAP/AD backends. N/A N/A orig new N/A self cases N/A N/A N/A N/A self assertEqual N/A N/A N/A N/A re sub INVALID_USERNAME_CHAR_REGEX orig lower new N/A N/A TrophyTests N/A TestCase N/A N/A Test the Trophy Case. N/A fixtures N/A test_users test_is_fish_trophy_awarded_for_new_review_request N/A N/A self N/A N/A N/A Testing if a fish trophy is awarded for a new review request. N/A user1 N/A N/A N/A User objects get username doc N/A category fish N/A review_request N/A N/A self create_review_request publish True id 3223 submitter user1 N/A trophies N/A N/A N/A Trophy objects get_trophies review_request N/A N/A N/A self assertEqual N/A N/A trophies N/A 0 category category N/A N/A N/A self assertTrue N/A N/A N/A N/A trophies N/A 0 review_request extra_data N/A calculated_trophies N/A test_is_fish_trophy_awarded_for_older_review_request N/A N/A self N/A N/A N/A Testing if a fish trophy is awarded for an older review request. N/A user1 N/A N/A N/A User objects get username doc N/A category fish N/A review_request N/A N/A self create_review_request publish True id 1001 submitter user1 N/A N/A N/A review_request extra_data N/A calculated_trophies N/A trophies N/A N/A N/A Trophy objects get_trophies review_request N/A N/A N/A self assertEqual N/A N/A trophies N/A 0 category category N/A N/A N/A self assertTrue N/A N/A N/A N/A trophies N/A 0 review_request extra_data N/A calculated_trophies N/A test_is_milestone_trophy_awarded_for_new_review_request N/A N/A self N/A N/A N/A Testing if a milestone trophy is awarded for a new review request.
         N/A user1 N/A N/A N/A User objects get username doc N/A category milestone N/A review_request N/A N/A self create_review_request publish True id 1000 submitter user1 N/A trophies N/A N/A N/A Trophy objects compute_trophies review_request N/A N/A N/A self assertEqual N/A N/A trophies N/A 0 category category N/A N/A N/A self assertTrue N/A N/A N/A N/A trophies N/A 0 review_request extra_data N/A calculated_trophies N/A test_is_milestone_trophy_awarded_for_older_review_request N/A N/A self N/A N/A N/A Testing if a milestone trophy is awarded for an older review
        request.
         N/A user1 N/A N/A N/A User objects get username doc N/A category milestone N/A review_request N/A N/A self create_review_request publish True id 10000 submitter user1 N/A N/A N/A review_request extra_data N/A calculated_trophies N/A trophies N/A N/A N/A Trophy objects compute_trophies review_request N/A N/A N/A self assertEqual N/A N/A trophies N/A 0 category category N/A N/A N/A self assertTrue N/A N/A N/A N/A trophies N/A 0 review_request extra_data N/A calculated_trophies N/A test_is_no_trophy_awarded N/A N/A self N/A N/A N/A Testing if no trophy is awarded. N/A user1 N/A N/A N/A User objects get username doc N/A review_request N/A N/A self create_review_request publish True id 999 submitter user1 N/A trophies N/A N/A N/A Trophy objects compute_trophies review_request N/A N/A N/A self assertFalse trophies N/A N/A SandboxAuthBackend N/A AuthBackend N/A N/A Mock authentication backend to test extension sandboxing. N/A backend_id test-id N/A name test N/A supports_change_name True N/A supports_change_email True N/A supports_change_password True authenticate N/A N/A self username password N/A N/A N/A Raise an exception to test sandboxing. N/A Exception N/A update_password N/A N/A self user password N/A N/A N/A Raise an exception to test sandboxing. N/A Exception N/A update_name N/A N/A self user N/A N/A N/A Raise an exception to test sandboxing. N/A Exception N/A update_email N/A N/A self user N/A N/A N/A Raise an exception to test sandboxing. N/A Exception N/A N/A SandboxTests N/A SpyAgency TestCase N/A N/A Test extension sandboxing. setUp N/A N/A self N/A N/A N/A Initialize this test case. N/A N/A N/A N/A super SandboxTests self setUp N/A N/A self factory N/A RequestFactory N/A N/A self request N/A N/A N/A self factory get test N/A N/A self user N/A N/A N/A User objects create_user username reviewboard email password password N/A N/A self profile N/A N/A N/A Profile objects get_or_create user N/A self user N/A N/A N/A self spy_on get_enabled_auth_backends call_fake N/A N/A N/A N/A N/A N/A SandboxAuthBackend N/A N/A N/A self spy_on N/A messages add_message call_fake N/A N/A N/A x y z N/A None N/A tearDown N/A N/A self N/A N/A N/A Uninitialize this test case. N/A N/A N/A N/A super SandboxTests self tearDown N/A test_authenticate_auth_backend N/A N/A self N/A N/A N/A Testing sandboxing of AuthBackend.authenticate. N/A form N/A ChangePasswordForm page None request N/A self request user N/A self user N/A N/A form cleaned_data N/A old_password N/A N/A self user password N/A N/A N/A self spy_on N/A SandboxAuthBackend authenticate N/A N/A N/A self assertRaisesMessage ValidationError Unexpected error when validating the password. Please contact the administrator. N/A N/A N/A N/A N/A N/A form clean_old_password N/A N/A N/A self assertTrue N/A N/A SandboxAuthBackend authenticate called N/A test_update_password_auth_backend N/A N/A self N/A N/A N/A Testing sandboxing of AuthBackend.update_password. N/A form N/A ChangePasswordForm page None request N/A self request user N/A self user N/A N/A form cleaned_data N/A old_password password1 password2 N/A N/A self user password password1 password1 N/A N/A N/A self spy_on N/A SandboxAuthBackend update_password N/A N/A N/A form save N/A N/A N/A self assertTrue N/A N/A SandboxAuthBackend update_password called N/A test_update_name_auth_backend N/A N/A self N/A N/A N/A Testing sandboxing of AuthBackend.update_name. N/A form N/A ProfileForm page None request N/A self request user N/A self user N/A N/A form cleaned_data N/A first_name last_name email profile_private Barry Allen flash@example.com N/A N/A N/A self user email flash@example.com N/A N/A N/A self spy_on N/A SandboxAuthBackend update_name N/A N/A N/A form save N/A N/A N/A self assertTrue N/A N/A SandboxAuthBackend update_name called N/A test_update_email_auth_backend N/A N/A self N/A N/A N/A Testing sandboxing of AuthBackend.update_email. N/A form N/A ProfileForm page None request N/A self request user N/A self user N/A N/A form cleaned_data N/A first_name last_name email profile_private Barry Allen flash@example.com N/A N/A N/A self user first_name Barry N/A N/A N/A self user last_name Allen N/A N/A N/A self spy_on N/A SandboxAuthBackend update_email N/A N/A N/A form save N/A N/A N/A self assertTrue N/A N/A SandboxAuthBackend update_email called N/A N/A