• Home
  • Raw
  • Download

Lines Matching defs:self

58     def ndiffAssertEqual(self, first, second):  argument
68 def _msgobj(self, filename): argument
80 def test_get_all(self): argument
86 def test_getset_charset(self): argument
112 def test_set_charset_from_string(self): argument
119 def test_set_payload_with_charset(self): argument
125 def test_get_charsets(self): argument
142 def test_get_filename(self): argument
153 def test_get_filename_with_name_parameter(self): argument
160 def test_get_boundary(self): argument
166 def test_set_boundary(self): argument
188 def test_make_boundary(self): argument
199 def test_message_rfc822_only(self): argument
211 def test_get_decoded_payload(self): argument
233 def test_get_decoded_uu_payload(self): argument
244 def test_decode_bogus_uu_payload_quietly(self): argument
257 def test_decoded_generator(self): argument
270 def test__contains__(self): argument
282 def test_as_string(self): argument
305 def test_bad_param(self): argument
309 def test_missing_filename(self): argument
313 def test_bogus_filename(self): argument
318 def test_missing_boundary(self): argument
322 def test_get_params(self): argument
338 def test_get_param_liberal(self): argument
343 def test_get_param(self): argument
360 def test_get_param_funky_continuation_lines(self): argument
364 def test_get_param_with_semis_in_quotes(self): argument
371 def test_get_param_with_quotes(self): argument
379 def test_has_key(self): argument
386 def test_set_param(self): argument
403 def test_del_param(self): argument
420 def test_del_param_on_other_header(self): argument
426 def test_set_type(self): argument
437 def test_set_type_on_other_header(self): argument
443 def test_get_content_type_missing(self): argument
447 def test_get_content_type_missing_with_default_type(self): argument
452 def test_get_content_type_from_message_implicit(self): argument
457 def test_get_content_type_from_message_explicit(self): argument
462 def test_get_content_type_from_message_text_plain_implicit(self): argument
466 def test_get_content_type_from_message_text_plain_explicit(self): argument
470 def test_get_content_maintype_missing(self): argument
474 def test_get_content_maintype_missing_with_default_type(self): argument
479 def test_get_content_maintype_from_message_implicit(self): argument
483 def test_get_content_maintype_from_message_explicit(self): argument
487 def test_get_content_maintype_from_message_text_plain_implicit(self): argument
491 def test_get_content_maintype_from_message_text_plain_explicit(self): argument
495 def test_get_content_subtype_missing(self): argument
499 def test_get_content_subtype_missing_with_default_type(self): argument
504 def test_get_content_subtype_from_message_implicit(self): argument
508 def test_get_content_subtype_from_message_explicit(self): argument
512 def test_get_content_subtype_from_message_text_plain_implicit(self): argument
516 def test_get_content_subtype_from_message_text_plain_explicit(self): argument
520 def test_get_content_maintype_error(self): argument
525 def test_get_content_subtype_error(self): argument
530 def test_replace_header(self): argument
547 def test_broken_base64_payload(self): argument
555 def test_get_content_charset(self): argument
564 def test_embedded_header_via_Header_rejected(self): argument
569 def test_embedded_header_via_string_rejected(self): argument
577 def test_encode_empty_payload(self): argument
583 def test_default_cte(self): argument
595 def test_encode7or8bit(self): argument
606 def test_split_long_continuation(self): argument
626 def test_another_long_almost_unsplittable_header(self): argument
643 def test_long_nonstring(self): argument
686 def test_long_header_encode(self): argument
695 def test_long_header_encode_with_tab_continuation(self): argument
705 def test_header_splitter(self): argument
725 def test_no_semis_header_splitter(self): argument
741 def test_no_split_long_header(self): argument
748 def test_splitting_multiple_long_lines(self): argument
770 def test_splitting_first_line_only_is_long(self): argument
786 def test_long_8bit_header(self): argument
799 def test_long_8bit_header_no_charset(self): argument
808 def test_long_to_header(self): argument
821 def test_long_line_after_append(self): argument
830 def test_shorter_line_with_append(self): argument
838 def test_long_field_name(self): argument
850 def test_long_received_header(self): argument
865 def test_string_headerinst_eq(self): argument
879 def test_long_unbreakable_lines_with_continuation(self): argument
895 def test_another_long_multiline_header(self): argument
907 def test_long_lines_with_different_header(self): argument
927 def setUp(self): argument
935 def test_mangled_from(self): argument
946 def test_dont_mangle_from(self): argument
957 def test_mangle_from_in_preamble_and_epilog(self): argument
983 def setUp(self): argument
997 def test_guess_minor_type(self): argument
1000 def test_encoding(self): argument
1004 def test_checkSetMinor(self): argument
1008 def test_add_header(self): argument
1031 def setUp(self): argument
1039 def test_guess_minor_type(self): argument
1042 def test_encoding(self): argument
1046 def test_checkSetMinor(self): argument
1050 def test_add_header(self): argument
1073 def setUp(self): argument
1076 def test_types(self): argument
1085 def test_payload(self): argument
1089 def test_charset(self): argument
1095 def test_7bit_unicode_input(self): argument
1101 def test_7bit_unicode_input_no_charset(self): argument
1108 def test_8bit_unicode_input(self): argument
1116 def test_8bit_unicode_input_no_charset(self): argument
1124 def setUp(self): argument
1164 def test_hierarchy(self): argument
1182 def test_empty_multipart_idempotent(self): argument
1199 def test_no_parts_in_a_multipart_with_none_epilogue(self): argument
1217 def test_no_parts_in_a_multipart_with_empty_epilogue(self): argument
1238 def test_one_part_in_a_multipart(self): argument
1263 def test_seq_parts_in_a_multipart_with_empty_preamble(self): argument
1291 def test_seq_parts_in_a_multipart_with_none_preamble(self): argument
1318 def test_seq_parts_in_a_multipart_with_none_epilogue(self): argument
1345 def test_seq_parts_in_a_multipart_with_empty_epilogue(self): argument
1372 def test_seq_parts_in_a_multipart_with_nl_epilogue(self): argument
1399 def test_message_external_body(self): argument
1412 def test_double_boundary(self): argument
1419 def test_nested_inner_contains_outer_boundary(self): argument
1438 def test_nested_with_same_boundary(self): argument
1455 def test_boundary_in_non_multipart(self): argument
1470 def test_boundary_with_leading_space(self): argument
1489 def test_boundary_without_trailing_newline(self): argument
1507 def test_parse_missing_minor_type(self): argument
1514 def test_same_boundary_inner_outer(self): argument
1523 def test_multipart_no_boundary(self): argument
1532 def test_invalid_content_type(self): argument
1553 def test_no_start_boundary(self): argument
1570 def test_no_separating_blank_line(self): argument
1581 def test_lying_multipart(self): argument
1590 def test_missing_start_boundary(self): argument
1605 def test_first_line_is_continuation_header(self): argument
1621 def test_rfc2047_multiline(self): argument
1635 def test_whitespace_eater_unicode(self): argument
1643 def test_whitespace_eater_unicode_2(self): argument
1652 def test_rfc2047_without_whitespace(self): argument
1657 def test_rfc2047_with_whitespace(self): argument
1664 def test_rfc2047_B_bad_padding(self): argument
1674 def test_rfc2047_Q_invalid_digits(self): argument
1683 def setUp(self): argument
1690 def test_type_error(self): argument
1693 def test_valid_argument(self): argument
1707 def test_bad_multipart(self): argument
1716 def test_generate(self): argument
1736 def test_parse_message_rfc822(self): argument
1748 def test_dsn(self): argument
1805 def test_epilogue(self): argument
1828 def test_no_nl_preamble(self): argument
1863 def test_default_type(self): argument
1883 def test_default_type_with_explicit_container_type(self): argument
1903 def test_default_type_non_parsed(self): argument
1977 def test_mime_attachments_in_constructor(self): argument
1986 def test_default_multipart_constructor(self): argument
1997 def _msgobj(self, filename): argument
2006 def _idempotent(self, msg, text): argument
2013 def test_parse_text_message(self): argument
2025 def test_parse_untyped_message(self): argument
2033 def test_simple_multipart(self): argument
2037 def test_MIME_digest(self): argument
2041 def test_long_header(self): argument
2045 def test_MIME_digest_with_part_headers(self): argument
2049 def test_mixed_with_image(self): argument
2053 def test_multipart_report(self): argument
2057 def test_dsn(self): argument
2061 def test_preamble_epilogue(self): argument
2065 def test_multipart_one_part(self): argument
2069 def test_multipart_no_parts(self): argument
2073 def test_no_start_boundary(self): argument
2077 def test_rfc2231_charset(self): argument
2081 def test_more_rfc2231_parameters(self): argument
2085 def test_text_plain_in_a_multipart_digest(self): argument
2089 def test_nested_multipart_mixeds(self): argument
2093 def test_message_external_body_idempotent(self): argument
2097 def test_content_type(self): argument
2128 def test_parser(self): argument
2148 def test_message_from_string(self): argument
2162 def test_message_from_file(self): argument
2177 def test_message_from_string_with_class(self): argument
2199 def test_message_from_file_with_class(self): argument
2219 def test__all__(self): argument
2237 def test_formatdate(self): argument
2242 def test_formatdate_localtime(self): argument
2248 def test_formatdate_usegmt(self): argument
2257 def test_parsedate_none(self): argument
2260 def test_parsedate_compact(self): argument
2265 def test_parsedate_no_dayofweek(self): argument
2270 def test_parsedate_compact_no_dayofweek(self): argument
2275 def test_parsedate_acceptable_to_time_functions(self): argument
2286 def test_mktime_tz(self): argument
2292 def test_parsedate_y2k(self): argument
2305 def test_parseaddr_empty(self): argument
2309 def test_noquote_dump(self): argument
2314 def test_escape_dump(self): argument
2322 def test_escape_backslashes(self): argument
2330 def test_name_with_dot(self): argument
2339 def test_parseaddr_preserves_quoted_pairs_in_addresses(self): argument
2357 def test_multiline_from_comment(self): argument
2363 def test_quote_dump(self): argument
2368 def test_fix_eols(self): argument
2376 def test_charset_richcomparisons(self): argument
2396 def test_getaddresses(self): argument
2403 def test_getaddresses_nasty(self): argument
2413 def test_getaddresses_embedded_comment(self): argument
2419 def test_make_msgid_collisions(self): argument
2422 def run(self): argument
2438 def test_utils_quote_unquote(self): argument
2445 def test_get_body_encoding_with_bogus_charset(self): argument
2449 def test_get_body_encoding_with_uppercase_charset(self): argument
2475 def test_charsets_case_insensitive(self): argument
2480 def test_partial_falls_inside_message_delivery_status(self): argument
2526 def test_body_line_iterator(self): argument
2546 def test_typed_subpart_iterator(self): argument
2563 def test_typed_subpart_iterator_default_type(self): argument
2582 def test_pushCR_LF(self): argument
2612 def test_push_random(self): argument
2633 def parse(self, chunks): argument
2640 def test_newlines(self): argument
2652 def test_long_lines(self): argument
2666 def test_header_parser(self): argument
2680 def test_whitespace_continuation(self): argument
2698 def test_whitespace_continuation_last_header(self): argument
2716 def test_crlf_separation(self): argument
2730 def test_multipart_digest_with_extra_mime_headers(self): argument
2764 def test_three_lines(self): argument
2772 def test_strip_line_feed_and_carriage_return_in_headers(self): argument
2783 def test_rfc2822_header_syntax(self): argument
2793 def test_rfc2822_space_not_allowed_in_header(self): argument
2799 def test_rfc2822_one_character_header(self): argument
2808 def test_CRLFLF_at_end_of_part(self): argument
2829 def test_len(self): argument
2842 def test_decode(self): argument
2849 def test_encode(self): argument
2871 def test_header_encode(self): argument
2901 def setUp(self): argument
2913 def test_header_quopri_check(self): argument
2919 def test_body_quopri_check(self): argument
2925 def test_header_quopri_len(self): argument
2937 def test_body_quopri_len(self): argument
2945 def test_quote_unquote_idempotent(self): argument
2950 def test_header_encode(self): argument
2976 def test_decode(self): argument
2983 def test_encode(self): argument
3012 def tearDown(self): argument
3019 def test_idempotent(self): argument
3031 def test_body_encode(self): argument
3061 def test_unicode_charset_name(self): argument
3066 def test_codecs_aliases_accepted(self): argument
3073 def test_simple(self): argument
3080 def test_simple_surprise(self): argument
3087 def test_header_needs_no_decoding(self): argument
3091 def test_long(self): argument
3097 def test_multilingual(self): argument
3146 def test_header_ctor_default_args(self): argument
3153 def test_explicit_maxlinelen(self): argument
3167 def test_us_ascii_header(self): argument
3175 def test_string_charset(self): argument
3190 def test_utf8_shortest(self): argument
3197 def test_bad_8bit_header(self): argument
3208 def test_encoded_adjacent_nonencoded(self): argument
3218 def test_whitespace_eater(self): argument
3227 def test_broken_base64_header(self): argument
3233 def test_ascii_add_header(self): argument
3240 def test_nonascii_add_header_via_triple(self): argument
3248 def test_encode_unaliased_charset(self): argument
3257 def test_get_param(self): argument
3265 def test_set_param(self): argument
3302 def test_del_param(self): argument
3332 def test_rfc2231_get_content_charset(self): argument
3337 def test_rfc2231_no_language_or_charset(self): argument
3351 def test_rfc2231_no_language_or_charset_in_filename(self): argument
3363 def test_rfc2231_no_language_or_charset_in_filename_encoded(self): argument
3375 def test_rfc2231_partly_encoded(self): argument
3388 def test_rfc2231_partly_nonencoded(self): argument
3401 def test_rfc2231_no_language_or_charset_in_boundary(self): argument
3413 def test_rfc2231_no_language_or_charset_in_charset(self): argument
3426 def test_rfc2231_bad_encoding_in_filename(self): argument
3438 def test_rfc2231_bad_encoding_in_charset(self): argument
3448 def test_rfc2231_bad_character_in_charset(self): argument
3458 def test_rfc2231_bad_character_in_filename(self): argument
3470 def test_rfc2231_unknown_encoding(self): argument
3479 def test_rfc2231_single_tick_in_filename_extended(self): argument
3492 def test_rfc2231_single_tick_in_filename(self): argument
3502 def test_rfc2231_tick_attack_extended(self): argument
3515 def test_rfc2231_tick_attack(self): argument
3526 def test_rfc2231_no_extended_values(self): argument
3535 def test_rfc2231_encoded_then_unencoded_segments(self): argument
3550 def test_rfc2231_unencoded_then_encoded_segments(self): argument
3572 def _msg_and_obj(self, filename): argument
3581 def _signed_parts_eq(self, original, result): argument
3589 def test_long_headers_as_string(self): argument
3594 def test_long_headers_flatten(self): argument