Module ImportFrom alias alias Import alias identifier ImportFrom alias ImportFrom alias ImportFrom alias alias alias FunctionDef arguments args NameParam NameParam defaults NameLoad NameLoad body ImportFrom alias If CompareIs NameLoad NameLoad body Assign NameStore Dict Str Str Str Str Str Str Str Str If CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad Return Call NameLoad NameLoad NameLoad decorator_list Assign NameStore TupleLoad Num Call NameLoad ListLoad Str Str Assign NameStore TupleLoad Num Call NameLoad ListLoad Str ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign TupleStore NameStore NameStore TupleLoad Call NameLoad Call NameLoad Assign AttributeStore NameLoad attr Dict Str Str NameLoad NameLoad Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad ListLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign TupleStore NameStore NameStore TupleLoad Call NameLoad Call NameLoad Assign AttributeStore NameLoad attr Dict Str Str NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr CompareIs NameLoad NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body ImportFrom alias Assign NameStore Call NameLoad Call NameLoad Str Assign TupleStore NameStore NameStore TupleLoad Call NameLoad Call NameLoad Assign AttributeStore NameLoad attr Dict Num Num NameLoad NameLoad Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad ListLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body ImportFrom alias Assign NameStore Call NameLoad Call NameLoad Str Assign TupleStore NameStore NameStore TupleLoad Call NameLoad Call NameLoad Assign AttributeStore NameLoad attr Dict Num Num NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body ImportFrom alias Assign NameStore Call NameLoad Assign NameStore Dict Str Str Dict Dict With Call NameLoad NameLoad body With Call NameLoad NameLoad NameStore body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad GeneratorExp AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad ListLoad TupleLoad NameLoad Dict decorator_list FunctionDef arguments args NameParam defaults body ImportFrom alias Assign NameStore Call NameLoad With Call NameLoad keyword Dict Num NameLoad body Expr Call AttributeLoad NameLoad attr With Call NameLoad keyword Dict Num Num NameLoad NameLoad body With Call NameLoad NameLoad NameStore body Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call NameLoad GeneratorExp AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad NameLoad attr Call NameLoad ListLoad Num Num Assign NameStore Dict Str Str Str ListLoad Num ListLoad ListLoad Expr Call AttributeLoad NameLoad attr NameLoad ListLoad TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body ImportFrom alias Assign NameStore Call NameLoad With Call NameLoad keyword Dict Num Num NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr With Call NameLoad keyword Dict Num NameLoad body With Call NameLoad NameLoad NameStore body Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr ListComp AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad NameLoad attr ListLoad Num Assign NameStore Dict Str Str Str ListLoad ListLoad Num ListLoad Expr Call AttributeLoad NameLoad attr NameLoad ListLoad TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad With Call NameLoad keyword Dict Num Num NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr With Call NameLoad keyword Dict Num Num Num NameLoad NameLoad NameLoad NameStore body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad ListLoad Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad With Call NameLoad keyword Dict NameStore body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body ImportFrom alias Assign NameStore Call NameLoad Assign NameStore Str With Call NameLoad keyword Dict Num NameLoad NameStore body Expr Call AttributeLoad NameLoad attr Assign NameStore SubscriptLoad AttributeLoad Call AttributeLoad NameLoad attr Str attr Index Num Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr With Call NameLoad NameLoad NameStore body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad ListLoad TupleLoad NameLoad Dict Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad With Call NameLoad keyword Dict keyword Dict body Expr Call AttributeLoad NameLoad attr With Call NameLoad keyword Dict body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr ListComp AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad NameLoad attr ListLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore TupleLoad Num Call NameLoad ListLoad Str Str With Call NameLoad keyword Dict Num NameLoad body Expr Call AttributeLoad NameLoad attr With Call NameLoad keyword Dict Num NameLoad body Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr ListComp AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad NameLoad attr ListLoad SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore TupleLoad Num Call NameLoad ListLoad Str Str With Call NameLoad keyword Dict Num Str NameLoad Num body Expr Call AttributeLoad NameLoad attr With Call NameLoad keyword Dict Num Str NameLoad Num body Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr ListComp AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad NameLoad attr ListLoad SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam defaults body ImportFrom alias Assign NameStore Call NameLoad Assign NameStore TupleLoad Num Call NameLoad ListLoad Str Str With Call NameLoad keyword Dict Num NameLoad body Expr Call AttributeLoad NameLoad attr With Call NameLoad keyword Dict Num NameLoad body With Call NameLoad NameLoad NameStore body Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr ListComp AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad NameLoad attr ListLoad Call NameLoad ListLoad Str Assign NameStore Dict Str Str Str ListLoad ListLoad ListLoad Num Expr Call AttributeLoad NameLoad attr NameLoad ListLoad TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad With Call NameLoad keyword Dict NameStore body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call NameLoad keyword NameLoad With Call NameLoad keyword Dict NameStore body Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad NameLoad Index Num attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call NameLoad keyword NameLoad With Call NameLoad keyword Dict keyword Dict body Expr Call AttributeLoad NameLoad attr With Call NameLoad keyword Dict body Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr ListComp AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad NameLoad attr ListLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call NameLoad keyword NameLoad Assign NameStore TupleLoad Num Call NameLoad ListLoad Str Str Assign NameStore TupleLoad Num Call NameLoad ListLoad Str Str Str With Call NameLoad keyword Dict Num Num NameLoad NameLoad NameStore body Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword Lambda arguments args NameParam defaults AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Assign TupleStore NameStore NameStore NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad ListLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad ListLoad Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call NameLoad keyword NameLoad With Call NameLoad keyword Dict Num Num NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr With Call NameLoad keyword Dict Num NameLoad body Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr ListComp AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad NameLoad attr ListLoad Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call NameLoad keyword NameLoad With Call NameLoad keyword Dict Num Str NameLoad Num body Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call NameLoad keyword NameLoad Assign NameStore TupleLoad Num Call NameLoad ListLoad Str Str With Call NameLoad keyword Dict Num Str NameLoad Num body Expr Call AttributeLoad NameLoad attr With Call NameLoad keyword Dict Num Str NameLoad Num body Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr ListComp AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad NameLoad attr ListLoad SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call NameLoad keyword NameLoad Assign NameStore TupleLoad Num Call NameLoad ListLoad Str Str With Call NameLoad keyword Dict Num NameLoad body Expr Call AttributeLoad NameLoad attr With Call NameLoad keyword Dict Num NameLoad body Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr ListComp AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad NameLoad attr ListLoad Call NameLoad ListLoad Str decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Dict Str Dict Num Num Num TupleLoad Num Call NameLoad ListLoad Str Str TupleLoad Num Call NameLoad ListLoad Str Str TupleLoad Num Call NameLoad ListLoad Str Str Str With Call NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body ImportFrom alias Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str With Call NameLoad AttributeLoad NameLoad attr NameStore body With Call NameLoad NameLoad NameStore body Expr Call AttributeLoad NameLoad attr ListLoad Num Num Str Str Assign NameStore Dict Str Str Str ListLoad ListLoad ListLoad Num Num Expr Call AttributeLoad NameLoad attr NameLoad ListLoad TupleLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Num Num Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad NameLoad attr Num attr Call NameLoad ListLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad NameLoad attr Num attr Call NameLoad ListLoad Str Str Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad NameLoad attr Num attr Call NameLoad ListLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad NameLoad attr Num attr Call NameLoad ListLoad Str Str decorator_list FunctionDef arguments args NameParam defaults body ImportFrom alias Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str With Call NameLoad AttributeLoad NameLoad attr NameStore body With Call NameLoad NameLoad NameStore body Expr Call AttributeLoad NameLoad attr ListLoad Num Num Str Str Assign NameStore Dict Str Str Str ListLoad ListLoad ListLoad Num Num Expr Call AttributeLoad NameLoad attr NameLoad ListLoad TupleLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Num Num Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad NameLoad attr Num attr Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad NameLoad attr Num attr Call NameLoad ListLoad Str Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad NameLoad attr Num attr Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad NameLoad attr Num attr Call NameLoad ListLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad With Call NameLoad keyword Dict Num NameLoad NameStore body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad Call AttributeLoad NameLoad attr Str attr ListLoad Num Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Dict Str Str Dict Num NameLoad Dict Num NameLoad With Call NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body With Call NameLoad AttributeLoad NameLoad attr NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Num AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Num Str decorator_list FunctionDef arguments args NameParam defaults body With Call NameLoad AttributeLoad NameLoad attr NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Num AttributeLoad NameLoad attr Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Assign NameStore Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call NameLoad Call NameLoad Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam defaults body ImportFrom alias With Call NameLoad AttributeLoad NameLoad attr NameStore body With Call NameLoad NameLoad NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Num AttributeLoad NameLoad attr Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore Dict Str Str Str ListLoad NameLoad ListLoad ListLoad Expr Call AttributeLoad NameLoad attr NameLoad ListLoad TupleLoad AttributeLoad NameLoad attr NameLoad decorator_list decorator_list
N/A mock Mock MagicMock N/A unittest2 unittest contextlib contextmanager monocle.callback defer helpers mock_db listen_for mock_worker _account_for_test N/A N/A config db N/A None None N/A tinymail.account Account N/A N/A config None N/A N/A config N/A name host login_name login_pass my test account test_host test_username test_password N/A N/A db None N/A N/A db N/A MagicMock N/A N/A Account config db N/A N/A msg13_data N/A 13 N/A set N/A \Seen Subject: test message N/A msg22_data N/A 22 N/A set N/A Subject: read me AccountTest N/A N/A unittest TestCase N/A test_list_folders N/A N/A self N/A N/A N/A account N/A _account_for_test N/A N/A fol1 fol2 N/A N/A Mock N/A Mock N/A N/A account _folders N/A fol1 fol2 fol1 fol2 N/A folders N/A list N/A N/A account list_folders N/A N/A N/A self assertEqual folders N/A fol1 fol2 N/A test_get_folder N/A N/A self N/A N/A N/A account N/A _account_for_test N/A N/A fol1 fol2 N/A N/A Mock N/A Mock N/A N/A account _folders N/A fol1 fol2 fol1 fol2 N/A ret_fol1 N/A N/A account get_folder fol1 N/A N/A N/A self assertTrue N/A ret_fol1 fol1 N/A N/A FolderTest N/A N/A unittest TestCase N/A test_list_messages N/A N/A self N/A N/A tinymail.account Folder N/A folder N/A Folder N/A Mock fol1 N/A N/A msg1 msg2 N/A N/A Mock N/A Mock N/A N/A folder _messages N/A 1 2 msg1 msg2 N/A messages N/A list N/A N/A folder list_messages N/A N/A N/A self assertEqual messages N/A msg1 msg2 N/A test_get_message N/A N/A self N/A N/A tinymail.account Folder N/A folder N/A Folder N/A Mock fol1 N/A N/A msg1 msg2 N/A N/A Mock N/A Mock N/A N/A folder _messages N/A 1 2 msg1 msg2 N/A N/A N/A self assertEqual N/A N/A folder get_message 1 msg1 N/A N/A N/A self assertEqual N/A N/A folder get_message 2 msg2 N/A N/A AccountUpdateTest N/A N/A unittest TestCase N/A test_list_folders N/A N/A self N/A N/A tinymail.account account_updated N/A account N/A _account_for_test N/A folders N/A fol1 fol2 N/A N/A N/A N/A mock_worker folders N/A N/A N/A listen_for account_updated caught_signals N/A N/A N/A N/A account perform_update N/A N/A N/A self assertEqual N/A set N/A N/A f name N/A f N/A N/A account list_folders N/A set folders N/A N/A N/A self assertEqual caught_signals N/A N/A account N/A N/A test_list_messages N/A N/A self N/A N/A tinymail.account folder_updated N/A account N/A _account_for_test N/A N/A mock_worker fol1 N/A 6 None N/A N/A N/A N/A account perform_update N/A N/A mock_worker fol1 N/A 6 8 None None N/A N/A N/A listen_for folder_updated caught_signals N/A N/A N/A N/A account perform_update N/A fol1 N/A N/A account get_folder fol1 N/A N/A N/A self assertEqual N/A set N/A N/A m uid N/A m N/A N/A fol1 list_messages N/A set N/A 6 8 N/A event_data N/A added removed flags_changed N/A 8 N/A N/A N/A N/A N/A self assertEqual caught_signals N/A N/A fol1 event_data N/A test_message_removed_on_server N/A N/A self N/A N/A tinymail.account folder_updated N/A account N/A _account_for_test N/A N/A mock_worker fol1 N/A 6 8 None None N/A N/A N/A N/A account perform_update N/A N/A mock_worker fol1 N/A 6 None N/A N/A N/A listen_for folder_updated caught_signals N/A N/A N/A N/A account perform_update N/A fol1 N/A N/A account get_folder fol1 N/A N/A N/A self assertEqual N/A N/A m uid N/A m N/A N/A fol1 list_messages N/A 6 N/A event_data N/A added removed flags_changed N/A N/A 8 N/A N/A N/A N/A self assertEqual caught_signals N/A N/A fol1 event_data N/A test_only_get_new_headers N/A N/A self N/A N/A N/A account N/A _account_for_test N/A N/A mock_worker fol1 N/A 6 8 None None N/A N/A N/A N/A account perform_update N/A N/A mock_worker fol1 N/A 6 8 13 None None None worker N/A N/A N/A N/A account perform_update N/A N/A N/A N/A worker get_message_headers assert_called_once_with N/A set N/A 13 N/A test_empty_folder N/A N/A self N/A N/A N/A account N/A _account_for_test N/A N/A mock_worker fol1 N/A worker N/A N/A N/A N/A account perform_update N/A N/A N/A self assertFalse N/A N/A worker get_message_headers called N/A test_load_full_message N/A N/A self N/A N/A tinymail.account message_updated N/A account N/A _account_for_test N/A mime_message Subject: hi

Hello world! N/A N/A mock_worker fol1 N/A 6 None worker N/A N/A N/A N/A account perform_update N/A message N/A N/A N/A N/A account get_folder fol1 _messages N/A 6 N/A N/A N/A worker get_message_body return_value N/A defer mime_message N/A N/A N/A N/A worker close_mailbox reset_mock N/A N/A listen_for message_updated caught_signals N/A N/A N/A N/A message load_full N/A N/A N/A self assertEqual N/A message raw_full mime_message N/A N/A N/A self assertEqual caught_signals N/A N/A message N/A N/A N/A N/A N/A worker close_mailbox assert_called_once_with N/A test_folder_removed_on_server N/A N/A self N/A N/A N/A account N/A _account_for_test N/A N/A mock_worker fol1 N/A fol2 N/A N/A N/A N/A N/A account perform_update N/A N/A mock_worker fol1 N/A N/A N/A N/A N/A account perform_update N/A N/A N/A self assertEqual N/A N/A f name N/A f N/A N/A account list_folders N/A fol1 N/A test_trust_uidvalidity N/A N/A self N/A N/A N/A account N/A _account_for_test N/A msg13_bis_data N/A 13 N/A set N/A \Seen Subject: another message N/A N/A mock_worker fol1 N/A 13 msg13_data N/A N/A N/A N/A account perform_update N/A N/A mock_worker fol1 N/A 13 msg13_bis_data N/A N/A N/A N/A account perform_update N/A fol1 N/A N/A account get_folder fol1 N/A N/A N/A self assertEqual N/A N/A m raw_headers N/A m N/A N/A fol1 list_messages N/A N/A msg13_data N/A 2 N/A test_uidvalidity_changed N/A N/A self N/A N/A N/A account N/A _account_for_test N/A msg13_bis_data N/A 13 N/A set N/A \Seen Subject: another message N/A N/A mock_worker fol1 N/A 13 UIDVALIDITY msg13_data 1234 N/A N/A N/A N/A account perform_update N/A N/A mock_worker fol1 N/A 13 UIDVALIDITY msg13_bis_data 1239 N/A N/A N/A N/A account perform_update N/A fol1 N/A N/A account get_folder fol1 N/A N/A N/A self assertEqual N/A N/A m raw_headers N/A m N/A N/A fol1 list_messages N/A N/A msg13_bis_data N/A 2 N/A test_message_flags_changed N/A N/A self N/A N/A tinymail.account folder_updated N/A account N/A _account_for_test N/A msg13_bis_data N/A 13 N/A set N/A \Flagged Subject: test message N/A N/A mock_worker fol1 N/A 13 msg13_data N/A N/A N/A N/A account perform_update N/A N/A mock_worker fol1 N/A 13 msg13_bis_data N/A N/A N/A listen_for folder_updated caught_signals N/A N/A N/A N/A account perform_update N/A fol1 N/A N/A account get_folder fol1 N/A N/A N/A self assertEqual N/A N/A m flags N/A m N/A N/A fol1 list_messages N/A N/A set N/A \Flagged N/A event_data N/A added removed flags_changed N/A N/A N/A 13 N/A N/A N/A self assertEqual caught_signals N/A N/A fol1 event_data N/A test_close_mailbox_after_update N/A N/A self N/A N/A N/A account N/A _account_for_test N/A N/A mock_worker fol1 N/A worker N/A N/A N/A N/A account perform_update N/A N/A N/A N/A worker close_mailbox assert_called_once_with N/A N/A PersistenceTest N/A N/A unittest TestCase N/A test_folders N/A N/A self N/A N/A N/A db N/A mock_db N/A account N/A _account_for_test db db N/A N/A mock_worker myfolder N/A worker N/A N/A N/A N/A account perform_update N/A account2 N/A _account_for_test db db N/A folders N/A list N/A N/A account2 list_folders N/A N/A N/A self assertEqual N/A len folders 1 N/A N/A N/A self assertEqual N/A N/A folders N/A 0 name myfolder N/A test_folders_removed N/A N/A self N/A N/A N/A db N/A mock_db N/A account N/A _account_for_test db db N/A N/A mock_worker fol1 N/A fol2 N/A N/A N/A N/A N/A account perform_update N/A N/A mock_worker fol1 N/A N/A N/A N/A N/A account perform_update N/A account2 N/A _account_for_test db db N/A N/A N/A self assertEqual N/A N/A f name N/A f N/A N/A account2 list_folders N/A fol1 N/A test_messages N/A N/A self N/A N/A N/A db N/A mock_db N/A account N/A _account_for_test db db N/A msg4_data N/A 4 N/A set N/A \Seen Subject: test message N/A msg22_data N/A 22 N/A set N/A \Seen \Answered Subject: blah N/A N/A mock_worker myfolder N/A 4 22 msg4_data msg22_data worker N/A N/A N/A N/A account perform_update N/A account2 N/A _account_for_test db db N/A myfolder N/A N/A account2 get_folder myfolder N/A messages N/A list N/A N/A myfolder list_messages N/A N/A N/A messages sort key N/A N/A N/A m N/A N/A m uid N/A N/A N/A self assertEqual N/A len messages 2 N/A N/A msg4 msg22 messages N/A N/A N/A self assertEqual N/A msg4 uid 4 N/A N/A N/A self assertEqual N/A msg4 flags N/A set N/A \Seen N/A N/A N/A self assertEqual N/A msg4 raw_headers Subject: test message N/A N/A N/A self assertEqual N/A msg22 uid 22 N/A N/A N/A self assertEqual N/A msg22 flags N/A set N/A \Seen \Answered N/A N/A N/A self assertEqual N/A msg22 raw_headers Subject: blah N/A test_message_removed N/A N/A self N/A N/A N/A db N/A mock_db N/A account N/A _account_for_test db db N/A N/A mock_worker fol1 N/A 6 8 None None N/A N/A N/A N/A account perform_update N/A N/A mock_worker fol1 N/A 6 None N/A N/A N/A N/A account perform_update N/A account2 N/A _account_for_test db db N/A fol1 N/A N/A account2 get_folder fol1 N/A N/A N/A self assertEqual N/A N/A m uid N/A m N/A N/A fol1 list_messages N/A 6 N/A test_uidvalidity N/A N/A self N/A N/A N/A db N/A mock_db N/A account N/A _account_for_test db db N/A N/A mock_worker fol1 N/A 13 UIDVALIDITY msg13_data 1234 N/A N/A N/A N/A account perform_update N/A account2 N/A _account_for_test db db N/A fol1 N/A N/A account2 get_folder fol1 N/A N/A N/A self assertEqual N/A fol1 _uidvalidity 1234 N/A test_uidvalidity_changed N/A N/A self N/A N/A N/A db N/A mock_db N/A account N/A _account_for_test db db N/A msg13_bis_data N/A 13 N/A set N/A \Seen Subject: another message N/A N/A mock_worker fol1 N/A 13 UIDVALIDITY msg13_data 1234 N/A N/A N/A N/A account perform_update N/A N/A mock_worker fol1 N/A 13 UIDVALIDITY msg13_bis_data 1239 N/A N/A N/A N/A account perform_update N/A account2 N/A _account_for_test db db N/A fol1 N/A N/A account2 get_folder fol1 N/A N/A N/A self assertEqual N/A fol1 _uidvalidity 1239 N/A N/A N/A self assertEqual N/A N/A m raw_headers N/A m N/A N/A fol1 list_messages N/A N/A msg13_bis_data N/A 2 N/A test_message_flags_changed N/A N/A self N/A N/A N/A db N/A mock_db N/A account N/A _account_for_test db db N/A msg13_bis_data N/A 13 N/A set N/A \Flagged Subject: test message N/A N/A mock_worker fol1 N/A 13 msg13_data N/A N/A N/A N/A account perform_update N/A N/A mock_worker fol1 N/A 13 msg13_bis_data N/A N/A N/A N/A account perform_update N/A account2 N/A _account_for_test db db N/A fol1 N/A N/A account2 get_folder fol1 N/A N/A N/A self assertEqual N/A N/A m flags N/A m N/A N/A fol1 list_messages N/A N/A set N/A \Flagged N/A N/A ModifyFlagsTest N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self db N/A mock_db N/A N/A self account N/A _account_for_test db N/A self db N/A N/A self imap_data N/A fol1 N/A 4 15 22 N/A 4 N/A set N/A \Seen Subject: test message N/A 15 N/A set N/A \Flagged Subject: whatever N/A 22 N/A set N/A \Seen \Answered Subject: blah N/A N/A mock_worker N/A self imap_data N/A N/A N/A N/A N/A self account perform_update N/A test_add_flag N/A N/A self N/A N/A tinymail.account folder_updated N/A fol1 N/A N/A N/A self account get_folder fol1 N/A N/A mock_worker N/A self imap_data worker N/A N/A N/A listen_for folder_updated caught_signals N/A N/A N/A N/A fol1 change_flag N/A 4 15 add \Seen N/A event_data N/A added removed flags_changed N/A N/A N/A 4 15 N/A N/A N/A self assertEqual caught_signals N/A N/A fol1 event_data N/A N/A N/A N/A worker change_flag assert_called_once_with N/A 4 15 add \Seen N/A N/A N/A self assertEqual N/A N/A N/A fol1 get_message 4 flags N/A set N/A \Seen N/A N/A N/A self assertEqual N/A N/A N/A fol1 get_message 15 flags N/A set N/A \Seen \Flagged N/A accountB N/A _account_for_test db N/A self db N/A fol1B N/A N/A accountB get_folder fol1 N/A N/A N/A self assertEqual N/A N/A N/A fol1B get_message 4 flags N/A set N/A \Seen N/A N/A N/A self assertEqual N/A N/A N/A fol1B get_message 15 flags N/A set N/A \Seen \Flagged N/A test_del_flag N/A N/A self N/A N/A tinymail.account folder_updated N/A fol1 N/A N/A N/A self account get_folder fol1 N/A N/A mock_worker N/A self imap_data worker N/A N/A N/A listen_for folder_updated caught_signals N/A N/A N/A N/A fol1 change_flag N/A 4 15 del \Seen N/A event_data N/A added removed flags_changed N/A N/A N/A 4 15 N/A N/A N/A self assertEqual caught_signals N/A N/A fol1 event_data N/A N/A N/A N/A worker change_flag assert_called_once_with N/A 4 15 del \Seen N/A N/A N/A self assertEqual N/A N/A N/A fol1 get_message 4 flags N/A set N/A N/A N/A self assertEqual N/A N/A N/A fol1 get_message 15 flags N/A set N/A \Flagged N/A accountB N/A _account_for_test db N/A self db N/A fol1B N/A N/A accountB get_folder fol1 N/A N/A N/A self assertEqual N/A N/A N/A fol1B get_message 4 flags N/A set N/A N/A N/A self assertEqual N/A N/A N/A fol1B get_message 15 flags N/A set N/A \Flagged N/A test_close_mailbox_after_changing_flags N/A N/A self N/A N/A N/A account N/A _account_for_test N/A N/A mock_worker fol1 N/A 13 msg13_data worker N/A N/A N/A N/A account perform_update N/A N/A N/A N/A worker close_mailbox reset_mock N/A N/A N/A N/A N/A account get_folder fol1 change_flag N/A 13 add \Flagged N/A N/A N/A N/A worker close_mailbox assert_called_once_with N/A N/A MessagesCopyTest N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self db N/A mock_db N/A N/A self account N/A _account_for_test db N/A self db N/A N/A self imap_data N/A fol1 fol2 N/A 13 msg13_data N/A 22 msg22_data N/A N/A mock_worker N/A self imap_data N/A N/A N/A N/A N/A self account perform_update N/A N/A self fol1 N/A N/A N/A self account get_folder fol1 N/A N/A self fol2 N/A N/A N/A self account get_folder fol2 N/A test_copy_one_message N/A N/A self N/A N/A N/A N/A mock_worker N/A self imap_data worker N/A N/A N/A N/A N/A self fol1 copy_messages N/A 13 N/A self fol2 N/A N/A N/A N/A worker copy_messages assert_called_once_with N/A 13 fol2 N/A test_local_data_after_copy N/A N/A self N/A N/A N/A N/A mock_worker N/A self imap_data worker N/A N/A N/A N/A N/A self fol1 copy_messages N/A 13 N/A self fol2 N/A fol2_msgs N/A list N/A N/A N/A self fol2 list_messages N/A N/A N/A self assertEqual N/A len fol2_msgs 2 N/A uid N/A max N/A N/A self fol2 _messages N/A msg N/A N/A N/A self fol2 get_message uid N/A N/A N/A self assertEqual N/A msg flags N/A msg13_data N/A 1 N/A N/A N/A self assertEqual N/A msg raw_headers N/A msg13_data N/A 2 N/A accountB N/A _account_for_test db N/A self db N/A fol2B N/A N/A accountB get_folder fol2 N/A N/A N/A self assertEqual N/A len N/A list N/A N/A fol2B list_messages 2 N/A msgB N/A N/A fol2B get_message uid N/A N/A N/A self assertEqual N/A msgB flags N/A msg13_data N/A 1 N/A N/A N/A self assertEqual N/A msgB raw_headers N/A msg13_data N/A 2 N/A test_copy_event N/A N/A self N/A N/A tinymail.account folder_updated N/A N/A mock_worker N/A self imap_data worker N/A N/A N/A listen_for folder_updated caught_signals N/A N/A N/A N/A N/A self fol1 copy_messages N/A 13 N/A self fol2 N/A uid N/A max N/A N/A N/A N/A self fol2 _messages keys N/A event_data N/A added removed flags_changed N/A uid N/A N/A N/A N/A N/A self assertEqual caught_signals N/A N/A N/A self fol2 event_data N/A N/A