Module ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias ImportFrom alias ImportFrom alias identifier ClassDef bases NameLoad body Assign NameStore ListLoad Str Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr ListLoad AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Dict Str Str Str Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Str body Assign NameStore AttributeLoad NameLoad attr Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Return Call AttributeLoad Str attr ListLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Num For NameStore AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad AugAssignAdd NameStore Num Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list Call NameLoad keyword NameLoad keyword NameLoad keyword Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr For NameStore AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Call NameLoad keyword NameLoad keyword NameLoad keyword Str decorator_list ClassDef bases NameLoad body Assign NameStore ListLoad Str Str Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr ListLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Dict Str Str Str Str Str Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Str body Assign NameStore AttributeLoad NameLoad attr Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Return Call AttributeLoad Str attr ListLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Num For NameStore AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Str AugAssignAdd NameStore Num Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list Call NameLoad keyword NameLoad keyword NameLoad keyword Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Num For NameStore AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Str AugAssignAdd NameStore Num Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list Call NameLoad keyword NameLoad keyword NameLoad keyword Str decorator_list
N/A django.core mail django.conf settings django.test TestCase django.test.utils override_settings django_factory_boy auth journalmanager models jmodels journalmanager.tests modelfactories editorialmanager notifications N/A modelfactories editorial_modelfactories IssueBoardMessageTests N/A TestCase N/A N/A ACTIONS N/A issue_add_no_replicated_board issue_add_replicated_board setUp N/A N/A self N/A N/A N/A N/A self editor N/A N/A auth UserF is_active True N/A N/A self journal N/A N/A N/A modelfactories JournalFactory create editor N/A self editor N/A N/A self issue N/A N/A modelfactories IssueFactory journal N/A self journal N/A N/A self expected_recipients N/A N/A N/A self editor email N/A N/A self expected_subject_sufix_by_action N/A issue_add_no_replicated_board issue_add_replicated_board Issue Board can't be replicated Issue has a new replicated board N/A _make_subject N/A N/A self action subject N/A N/A N/A subject_prefix N/A settings EMAIL_SUBJECT_PREFIX N/A subject_suffix N/A N/A self expected_subject_sufix_by_action N/A action N/A N/A N/A join N/A subject_prefix subject subject_suffix N/A tearDown N/A N/A self N/A N/A N/A 
        Restore the default values.
         N/A test_each_action N/A N/A self N/A N/A N/A email_count 0 N/A action N/A self ACTIONS N/A N/A expected_subject N/A N/A self _make_subject action N/A email_count 1 N/A result N/A N/A notifications issue_board_replica issue N/A self issue action action N/A N/A N/A self assertTrue result N/A N/A N/A self assertEqual N/A len N/A mail outbox email_count N/A new_email N/A N/A mail outbox N/A -1 N/A N/A N/A self assertEqual N/A new_email subject expected_subject N/A N/A N/A self assertEqual N/A len N/A self expected_recipients N/A len N/A new_email to N/A recipient N/A self expected_recipients N/A N/A N/A N/A self assertIn recipient N/A new_email to N/A N/A override_settings CELERY_EAGER_PROPAGATES_EXCEPTIONS True CELERY_ALWAYS_EAGER True BROKER_BACKEND memory test_each_action_with_disable_notifications_for_editor N/A N/A self N/A N/A N/A 
        for each action, test notifications are sent, but editor will have disable notifications
         N/A editor_profile N/A N/A N/A self editor get_profile N/A N/A editor_profile email_notifications False N/A N/A N/A editor_profile save N/A N/A N/A N/A self expected_recipients remove N/A N/A editor_profile user email N/A action N/A self ACTIONS N/A N/A expected_subject N/A N/A self _make_subject action N/A result N/A N/A notifications issue_board_replica issue N/A self issue action action N/A N/A N/A self assertIsNone result N/A N/A override_settings CELERY_EAGER_PROPAGATES_EXCEPTIONS True CELERY_ALWAYS_EAGER True BROKER_BACKEND memory N/A BoardMembersMessageTests N/A TestCase N/A N/A ACTIONS N/A board_add_member board_edit_member board_delete_member setUp N/A N/A self N/A N/A N/A N/A self librarian_group N/A N/A modelfactories GroupFactory name Librarian N/A N/A self librarian1 N/A N/A auth UserF is_active True N/A N/A self librarian2 N/A N/A auth UserF is_active True N/A N/A N/A N/A N/A self librarian1 groups add N/A self librarian_group N/A N/A N/A N/A self librarian1 save N/A N/A N/A N/A N/A self librarian2 groups add N/A self librarian_group N/A N/A N/A N/A self librarian2 save N/A N/A self collection N/A N/A N/A modelfactories CollectionFactory create N/A N/A self editor N/A N/A auth UserF is_active True N/A N/A self journal N/A N/A N/A modelfactories JournalFactory create editor N/A self editor N/A N/A self issue N/A N/A modelfactories IssueFactory journal N/A self journal N/A N/A self board N/A N/A N/A editorial_modelfactories EditorialBoardFactory create issue N/A self issue N/A N/A self member N/A N/A N/A editorial_modelfactories EditorialMemberFactory create board N/A self board N/A N/A N/A N/A N/A jmodels Membership objects create journal N/A self journal collection N/A self collection created_by N/A N/A auth UserF is_active True N/A N/A N/A N/A self collection add_user N/A self librarian1 N/A N/A N/A N/A self collection add_user N/A self librarian2 N/A N/A self expected_recipients N/A N/A N/A self expected_bcc_recipients N/A N/A N/A self librarian1 email N/A N/A self librarian2 email N/A N/A self expected_subject_sufix_by_action N/A board_add_member board_edit_member board_delete_member Member of the journal board, was added Member of the journal board, was edited Member of the journal board, was deleted N/A _make_subject N/A N/A self action subject N/A N/A N/A subject_prefix N/A settings EMAIL_SUBJECT_PREFIX N/A subject_suffix N/A N/A self expected_subject_sufix_by_action N/A action N/A N/A N/A join N/A subject_prefix subject subject_suffix N/A test_each_action N/A N/A self N/A N/A N/A email_count 0 N/A action N/A self ACTIONS N/A N/A expected_subject N/A N/A self _make_subject action N/A message Audit Log change message goes here! N/A email_count 1 N/A result N/A N/A notifications board_members_send_email_by_action N/A self member N/A self editor message action N/A N/A N/A self assertTrue result N/A N/A N/A self assertEqual N/A len N/A mail outbox email_count N/A new_email N/A N/A mail outbox N/A -1 N/A N/A N/A self assertEqual N/A new_email subject expected_subject N/A N/A N/A self assertEqual N/A len N/A self expected_recipients N/A len N/A new_email to N/A N/A N/A self assertEqual N/A len N/A self expected_bcc_recipients N/A len N/A new_email bcc N/A recipient N/A self expected_recipients N/A N/A N/A N/A self assertIn recipient N/A new_email to N/A recipient N/A self expected_bcc_recipients N/A N/A N/A N/A self assertIn recipient N/A new_email bcc N/A N/A override_settings CELERY_EAGER_PROPAGATES_EXCEPTIONS True CELERY_ALWAYS_EAGER True BROKER_BACKEND memory test_each_action_with_disable_notifications_for_one_librarian N/A N/A self N/A N/A N/A 
        for each action, test notifications are sent, but librarian2 will have disable notifications
         N/A librarian2_profile N/A N/A N/A self librarian2 get_profile N/A N/A librarian2_profile email_notifications False N/A N/A N/A librarian2_profile save N/A N/A N/A N/A self expected_bcc_recipients remove N/A N/A librarian2_profile user email N/A email_count 0 N/A action N/A self ACTIONS N/A N/A expected_subject N/A N/A self _make_subject action N/A message Audit Log change message goes here! N/A email_count 1 N/A result N/A N/A notifications board_members_send_email_by_action N/A self member N/A self editor message action N/A N/A N/A self assertTrue result N/A N/A N/A self assertEqual N/A len N/A mail outbox email_count N/A new_email N/A N/A mail outbox N/A -1 N/A N/A N/A self assertEqual N/A new_email subject expected_subject N/A N/A N/A self assertEqual N/A len N/A self expected_recipients N/A len N/A new_email to N/A N/A N/A self assertEqual N/A len N/A self expected_bcc_recipients N/A len N/A new_email bcc N/A recipient N/A self expected_recipients N/A N/A N/A N/A self assertIn recipient N/A new_email to N/A recipient N/A self expected_bcc_recipients N/A N/A N/A N/A self assertIn recipient N/A new_email bcc N/A N/A override_settings CELERY_EAGER_PROPAGATES_EXCEPTIONS True CELERY_ALWAYS_EAGER True BROKER_BACKEND memory N/A