• Home
  • Raw
  • Download

Lines Matching defs:self

25     def _check_sample(self, msg):  argument
39 def _delete_recursively(self, target): argument
54 def setUp(self): argument
59 def tearDown(self): argument
63 def test_add(self): argument
93 def test_add_invalid_8bit_bytes_header(self): argument
99 def test_invalid_nonascii_header_as_string(self): argument
106 def test_add_nonascii_string_header_raises(self): argument
113 def test_add_that_raises_leaves_mailbox_empty(self): argument
135 def test_add_8bit_body(self): argument
146 def test_add_binary_file(self): argument
154 def test_add_binary_nonascii_file(self): argument
162 def test_add_text_file_warns(self): argument
171 def test_add_StringIO_warns(self): argument
176 def test_add_nonascii_StringIO_raises(self): argument
184 def test_remove(self): argument
188 def test_delitem(self): argument
192 def _test_remove_or_delitem(self, method): argument
214 def test_discard(self, repetitions=10): argument
226 def test_get(self): argument
241 def test_getitem(self): argument
251 def test_get_message(self): argument
261 def test_get_bytes(self): argument
269 def test_get_string(self): argument
277 def test_get_file(self): argument
290 def test_get_file_can_be_closed_twice(self): argument
297 def test_iterkeys(self): argument
301 def test_keys(self): argument
305 def test_itervalues(self): argument
310 def test_iter(self): argument
315 def test_values(self): argument
319 def test_iteritems(self): argument
324 def test_items(self): argument
328 def _check_iteration(self, method, do_keys, do_values, repetitions=10): argument
355 def test_contains(self): argument
374 def test_len(self, repetitions=10): argument
386 def test_set_item(self): argument
413 def test_clear(self, iterations=10): argument
425 def test_pop(self): argument
443 def test_popitem(self, iterations=10): argument
459 def test_update(self): argument
493 def test_flush(self): argument
497 def test_popitem_and_flush_twice(self): argument
508 def test_lock_unlock(self): argument
516 def test_close(self): argument
520 def _test_flush_or_close(self, method, should_call_close): argument
536 def test_dump_message(self): argument
548 def _get_lock_path(self): argument
555 def test_notimplemented(self): argument
591 _factory = lambda self, path, factory=None: mailbox.Maildir(path, factory) argument
593 def setUp(self): argument
598 def assertMailboxEmpty(self): argument
601 def test_add_MM(self): argument
610 def test_get_MM(self): argument
621 def test_set_MM(self): argument
644 def test_consistent_factory(self): argument
659 def test_initialize_new(self): argument
668 def test_initialize_existing(self): argument
676 def _check_basics(self, factory=None): argument
685 def test_list_folders(self): argument
694 def test_get_folder(self): argument
704 def test_add_and_remove_folders(self): argument
723 def test_clean(self): argument
741 def test_create_tmp(self, repetitions=10): argument
788 def test_refresh(self): argument
805 def test_refresh_after_safety_period(self): argument
824 def test_lookup(self): argument
837 def test_lock_unlock(self): argument
842 def test_folder (self): argument
854 def test_directory_in_folder (self): argument
868 def test_file_permissions(self): argument
881 def test_folder_file_perms(self): argument
895 def test_reread(self): argument
939 def test_add_doesnt_rewrite(self): argument
959 def test_permissions_after_flush(self): argument
979 def tearDown(self): argument
986 def assertMailboxEmpty(self): argument
990 def test_get_bytes_from(self): argument
1004 def test_get_string_from(self): argument
1018 def test_add_from_string(self): argument
1024 def test_add_from_bytes(self): argument
1030 def test_add_mbox_or_mmdf_message(self): argument
1036 def test_open_close_open(self): argument
1050 def test_add_and_close(self): argument
1066 def test_lock_conflict(self): argument
1101 def test_relock(self): argument
1119 _factory = lambda self, path, factory=None: mailbox.mbox(path, factory) argument
1122 def test_file_perms(self): argument
1140 def test_terminating_newline(self): argument
1150 def test_message_separator(self): argument
1165 _factory = lambda self, path, factory=None: mailbox.MMDF(path, factory) argument
1170 _factory = lambda self, path, factory=None: mailbox.MH(path, factory) argument
1172 def assertMailboxEmpty(self): argument
1175 def test_list_folders(self): argument
1184 def test_get_folder(self): argument
1203 def test_add_and_remove_folders(self): argument
1222 def test_sequences(self): argument
1242 def test_issue2625(self): argument
1248 def test_issue7627(self): argument
1255 def test_pack(self): argument
1299 def _get_lock_path(self): argument
1305 _factory = lambda self, path, factory=None: mailbox.Babyl(path, factory) argument
1307 def assertMailboxEmpty(self): argument
1311 def tearDown(self): argument
1318 def test_labels(self): argument
1339 def __init__(self): argument
1342 def close(self): argument
1348 def __init__(self): argument
1352 def get_file(self, key): argument
1358 def test_closing_fd(self): argument
1372 def setUp(self): argument
1375 def tearDown(self): argument
1378 def test_initialize_with_eMM(self): argument
1385 def test_initialize_with_string(self): argument
1391 def test_initialize_with_file(self): argument
1400 def test_initialize_with_binary_file(self): argument
1409 def test_initialize_with_nothing(self): argument
1420 def test_initialize_incorrectly(self): argument
1424 def test_all_eMM_attributes_exist(self): argument
1432 def test_become_message(self): argument
1439 def test_explain_to(self): argument
1449 def _post_initialize_hook(self, msg): argument
1458 def _post_initialize_hook(self, msg): argument
1462 def test_subdir(self): argument
1476 def test_flags(self): argument
1493 def test_date(self): argument
1500 def test_info(self): argument
1509 def test_info_and_flags(self): argument
1532 def _post_initialize_hook(self, msg): argument
1535 def test_initialize_with_unixfrom(self): argument
1542 def test_from(self): argument
1553 def test_flags(self): argument
1567 def _check_from(self, msg, sender=None): argument
1585 def _post_initialize_hook(self, msg): argument
1588 def test_sequences(self): argument
1616 def _post_initialize_hook(self, msg): argument
1619 def test_labels(self): argument
1642 def test_visible(self): argument
1674 def test_plain_to_x(self): argument
1681 def test_x_to_plain(self): argument
1688 def test_x_from_bytes(self): argument
1694 def test_x_to_invalid(self): argument
1699 def test_type_specific_attributes_removed_on_conversion(self): argument
1714 def test_maildir_to_maildir(self): argument
1726 def test_maildir_to_mboxmmdf(self): argument
1742 def test_maildir_to_mh(self): argument
1753 def test_maildir_to_babyl(self): argument
1765 def test_mboxmmdf_to_maildir(self): argument
1781 def test_mboxmmdf_to_mboxmmdf(self): argument
1792 def test_mboxmmdf_to_mh(self): argument
1805 def test_mboxmmdf_to_babyl(self): argument
1817 def test_mh_to_maildir(self): argument
1832 def test_mh_to_mboxmmdf(self): argument
1847 def test_mh_to_mh(self): argument
1856 def test_mh_to_babyl(self): argument
1871 def test_babyl_to_maildir(self): argument
1888 def test_babyl_to_mboxmmdf(self): argument
1905 def test_babyl_to_mh(self): argument
1921 def test_babyl_to_babyl(self): argument
1939 def _test_read(self, proxy): argument
1952 def _test_readline(self, proxy): argument
1968 def _test_readlines(self, proxy): argument
1984 def _test_iteration(self, proxy): argument
1995 def _test_seek_and_tell(self, proxy): argument
2010 def _test_close(self, proxy): argument
2022 def setUp(self): argument
2026 def tearDown(self): argument
2030 def test_initialize(self): argument
2041 def test_read(self): argument
2045 def test_readline(self): argument
2050 def test_readlines(self): argument
2055 def test_iteration(self): argument
2060 def test_seek_and_tell(self): argument
2064 def test_close(self): argument
2071 def setUp(self): argument
2075 def tearDown(self): argument
2079 def test_initialize(self): argument
2087 def test_read(self): argument
2091 def test_readline(self): argument
2097 def test_readlines(self): argument
2103 def test_iteration(self): argument
2109 def test_seek_and_tell(self): argument
2114 def test_close(self): argument
2133 def setUp(self): argument
2147 def tearDown(self): argument
2154 def createMessage(self, dir, mbox=False): argument
2174 def test_empty_maildir(self): argument
2184 def test_nonempty_maildir_cur(self): argument
2192 def test_nonempty_maildir_new(self): argument
2200 def test_nonempty_maildir_both(self): argument
2298 def test__all__(self): argument