Lines Matching defs:self
55 def test_get_all(self): argument
61 def test_getset_charset(self): argument
87 def test_set_charset_from_string(self): argument
94 def test_set_payload_with_charset(self): argument
100 def test_set_payload_with_8bit_data_and_charset(self): argument
109 def test_set_payload_with_non_ascii_and_charset_body_encoding_none(self): argument
118 def test_set_payload_with_8bit_data_and_charset_body_encoding_none(self): argument
127 def test_set_payload_to_list(self): argument
132 def test_attach_when_payload_is_string(self): argument
140 def test_get_charsets(self): argument
157 def test_get_filename(self): argument
168 def test_get_filename_with_name_parameter(self): argument
175 def test_get_boundary(self): argument
181 def test_set_boundary(self): argument
203 def test_make_boundary(self): argument
214 def test_message_rfc822_only(self): argument
226 def test_byte_message_rfc822_only(self): argument
237 def test_get_decoded_payload(self): argument
259 def test_get_decoded_uu_payload(self): argument
270 def test_get_payload_n_raises_on_non_multipart(self): argument
274 def test_decoded_generator(self): argument
284 def test__contains__(self): argument
296 def test_as_string(self): argument
306 def test_as_string_policy(self): argument
315 def test_nonascii_as_string_without_cte(self): argument
337 def test_nonascii_as_string_without_content_type_and_cte(self): argument
350 def test_as_bytes(self): argument
360 def test_as_bytes_policy(self): argument
370 def test_bad_param(self): argument
374 def test_missing_filename(self): argument
378 def test_bogus_filename(self): argument
383 def test_missing_boundary(self): argument
387 def test_get_params(self): argument
404 def test_get_param_liberal(self): argument
409 def test_get_param(self): argument
427 def test_get_param_funky_continuation_lines(self): argument
432 def test_get_param_with_semis_in_quotes(self): argument
440 def test_get_param_with_quotes(self): argument
448 def test_field_containment(self): argument
455 def test_set_param(self): argument
472 def test_del_param(self): argument
489 def test_del_param_on_other_header(self): argument
495 def test_del_param_on_nonexistent_header(self): argument
500 def test_del_nonexistent_param(self): argument
507 def test_set_type(self): argument
518 def test_set_type_on_other_header(self): argument
524 def test_get_content_type_missing(self): argument
528 def test_get_content_type_missing_with_default_type(self): argument
533 def test_get_content_type_from_message_implicit(self): argument
538 def test_get_content_type_from_message_explicit(self): argument
543 def test_get_content_type_from_message_text_plain_implicit(self): argument
547 def test_get_content_type_from_message_text_plain_explicit(self): argument
551 def test_get_content_maintype_missing(self): argument
555 def test_get_content_maintype_missing_with_default_type(self): argument
560 def test_get_content_maintype_from_message_implicit(self): argument
564 def test_get_content_maintype_from_message_explicit(self): argument
568 def test_get_content_maintype_from_message_text_plain_implicit(self): argument
572 def test_get_content_maintype_from_message_text_plain_explicit(self): argument
576 def test_get_content_subtype_missing(self): argument
580 def test_get_content_subtype_missing_with_default_type(self): argument
585 def test_get_content_subtype_from_message_implicit(self): argument
589 def test_get_content_subtype_from_message_explicit(self): argument
593 def test_get_content_subtype_from_message_text_plain_implicit(self): argument
597 def test_get_content_subtype_from_message_text_plain_explicit(self): argument
601 def test_get_content_maintype_error(self): argument
606 def test_get_content_subtype_error(self): argument
611 def test_replace_header(self): argument
628 def test_get_content_disposition(self): argument
640 def test_broken_base64_payload(self): argument
652 def test_broken_unicode_payload(self): argument
663 def test_questionable_bytes_payload(self): argument
674 def test_ascii_add_header(self): argument
681 def test_noascii_add_header(self): argument
689 def test_nonascii_add_header_via_triple(self): argument
697 def test_ascii_add_header_with_tspecial(self): argument
705 def test_nonascii_add_header_with_tspecial(self): argument
713 def test_binary_quopri_payload(self): argument
724 def test_binary_base64_payload(self): argument
735 def test_binary_uuencode_payload(self): argument
749 def test_add_header_with_name_only_param(self): argument
754 def test_add_header_with_no_value(self): argument
761 def test_embedded_header_via_Header_rejected(self): argument
766 def test_embedded_header_via_string_rejected(self): argument
771 def test_unicode_header_defaults_to_utf8_encoding(self): argument
784 def test_unicode_body_defaults_to_utf8_encoding(self): argument
799 def test_EncodersEncode_base64(self): argument
808 def test_encode_empty_payload(self): argument
814 def test_default_cte(self): argument
826 def test_encode7or8bit(self): argument
841 def test_qp_encode_latin1(self): argument
851 def test_qp_encode_non_latin1(self): argument
868 def test_split_long_continuation(self): argument
888 def test_another_long_almost_unsplittable_header(self): argument
905 def test_long_nonstring(self): argument
959 def test_long_header_encode(self): argument
968 def test_long_header_encode_with_tab_continuation_is_just_a_hint(self): argument
978 def test_long_header_encode_with_tab_continuation(self): argument
988 def test_header_encode_with_different_output_charset(self): argument
992 def test_long_header_encode_with_different_output_charset(self): argument
1002 def test_header_splitter(self): argument
1022 def test_no_semis_header_splitter(self): argument
1038 def test_last_split_chunk_does_not_fit(self): argument
1047 def test_splittable_leading_char_followed_by_overlong_unsplittable(self): argument
1056 def test_multiple_splittable_leading_char_followed_by_overlong_unsplittable(self): argument
1065 def test_trailing_splittable_on_overlong_unsplittable(self): argument
1072 def test_trailing_splittable_on_overlong_unsplittable_with_leading_splittable(self): argument
1081 def test_long_header_with_multiple_sequential_split_chars(self): argument
1089 def test_splitter_split_on_punctuation_only_if_fws_with_header(self): argument
1096 def test_leading_splittable_in_the_middle_just_before_overlong_last_part(self): argument
1107 def test_overlong_last_part_followed_by_split_point(self): argument
1114 def test_multiline_with_overlong_parts_separated_by_two_split_points(self): argument
1125 def test_multiline_with_overlong_last_part_followed_by_split_point(self): argument
1136 def test_long_header_with_whitespace_runs(self): argument
1153 def test_long_run_with_semi_header_splitter(self): argument
1170 def test_splitter_split_on_punctuation_only_if_fws(self): argument
1188 def test_no_split_long_header(self): argument
1200 def test_splitting_multiple_long_lines(self): argument
1222 def test_splitting_first_line_only_is_long(self): argument
1238 def test_long_8bit_header(self): argument
1258 def test_long_8bit_header_no_charset(self): argument
1279 def test_long_to_header(self): argument
1296 def test_long_line_after_append(self): argument
1305 def test_shorter_line_with_append(self): argument
1313 def test_long_field_name(self): argument
1328 def test_long_received_header(self): argument
1346 def test_string_headerinst_eq(self): argument
1365 def test_long_unbreakable_lines_with_continuation(self): argument
1389 def test_another_long_multiline_header(self): argument
1402 def test_long_lines_with_different_header(self): argument
1421 def test_long_rfc2047_header_with_embedded_fws(self): argument
1438 def setUp(self): argument
1446 def test_mangled_from(self): argument
1457 def test_dont_mangle_from(self): argument
1468 def test_mangle_from_in_preamble_and_epilog(self): argument
1491 def test_mangled_from_with_bad_bytes(self): argument
1505 def test_multipart_with_bad_bytes_in_cte(self): argument
1517 def setUp(self): argument
1522 def test_guess_minor_type(self): argument
1525 def test_encoding(self): argument
1530 def test_checkSetMinor(self): argument
1534 def test_add_header(self): argument
1557 def setUp(self): argument
1562 def test_guess_minor_type(self): argument
1565 def test_encoding(self): argument
1570 def test_checkSetMinor(self): argument
1574 def test_add_header(self): argument
1597 def test_headers(self): argument
1603 def test_body(self): argument
1611 def test_binary_body_with_encode_7or8bit(self): argument
1628 def test_binary_body_with_encode_noop(self): argument
1645 def test_binary_body_with_unicode_linend_encode_noop(self): argument
1657 def test_binary_body_with_encode_quopri(self): argument
1673 def test_binary_body_with_encode_base64(self): argument
1689 def setUp(self): argument
1692 def test_types(self): argument
1701 def test_payload(self): argument
1705 def test_charset(self): argument
1718 def test_7bit_input(self): argument
1724 def test_7bit_input_no_charset(self): argument
1731 def test_utf8_input(self): argument
1741 def test_utf8_input_no_charset(self): argument
1749 def setUp(self): argument
1785 def test_hierarchy(self): argument
1803 def test_empty_multipart_idempotent(self): argument
1820 def test_no_parts_in_a_multipart_with_none_epilogue(self): argument
1838 def test_no_parts_in_a_multipart_with_empty_epilogue(self): argument
1859 def test_one_part_in_a_multipart(self): argument
1884 def test_seq_parts_in_a_multipart_with_empty_preamble(self): argument
1912 def test_seq_parts_in_a_multipart_with_none_preamble(self): argument
1939 def test_seq_parts_in_a_multipart_with_none_epilogue(self): argument
1966 def test_seq_parts_in_a_multipart_with_empty_epilogue(self): argument
1993 def test_seq_parts_in_a_multipart_with_nl_epilogue(self): argument
2020 def test_message_external_body(self): argument
2033 def test_double_boundary(self): argument
2040 def test_nested_inner_contains_outer_boundary(self): argument
2059 def test_nested_with_same_boundary(self): argument
2076 def test_boundary_in_non_multipart(self): argument
2091 def test_boundary_with_leading_space(self): argument
2110 def test_boundary_without_trailing_newline(self): argument
2124 def test_mimebase_default_policy(self): argument
2128 def test_mimebase_custom_policy(self): argument
2135 def test_parse_missing_minor_type(self): argument
2143 def test_same_boundary_inner_outer(self): argument
2153 def test_multipart_no_boundary(self): argument
2186 def test_multipart_invalid_cte(self): argument
2194 def test_multipart_no_cte_no_defect(self): argument
2199 def test_multipart_valid_cte_no_defect(self): argument
2207 def test_invalid_content_type(self): argument
2228 def test_no_start_boundary(self): argument
2245 def test_no_separating_blank_line(self): argument
2257 def test_lying_multipart(self): argument
2267 def test_missing_start_boundary(self): argument
2283 def test_first_line_is_continuation_header(self): argument
2295 def test_missing_header_body_separator(self): argument
2309 def test_rfc2047_multiline(self): argument
2326 def test_whitespace_keeper_unicode(self): argument
2335 def test_whitespace_keeper_unicode_2(self): argument
2344 def test_rfc2047_missing_whitespace(self): argument
2351 def test_rfc2047_with_whitespace(self): argument
2358 def test_rfc2047_B_bad_padding(self): argument
2368 def test_rfc2047_Q_invalid_digits(self): argument
2374 def test_rfc2047_rfc2047_1(self): argument
2380 def test_rfc2047_rfc2047_2(self): argument
2386 def test_rfc2047_rfc2047_3(self): argument
2392 def test_rfc2047_rfc2047_4(self): argument
2398 def test_rfc2047_rfc2047_5a(self): argument
2404 def test_rfc2047_rfc2047_5b(self): argument
2410 def test_rfc2047_rfc2047_6(self): argument
2416 def test_rfc2047_rfc2047_7(self): argument
2425 def test_multiline_header(self): argument
2438 def setUp(self): argument
2442 def test_type_error(self): argument
2445 def test_valid_argument(self): argument
2459 def test_bad_multipart(self): argument
2467 def test_generate(self): argument
2487 def test_parse_message_rfc822(self): argument
2499 def test_dsn(self): argument
2556 def test_epilogue(self): argument
2576 def test_no_nl_preamble(self): argument
2611 def test_default_type(self): argument
2628 def test_default_type_with_explicit_container_type(self): argument
2645 def test_default_type_non_parsed(self): argument
2719 def test_mime_attachments_in_constructor(self): argument
2728 def test_default_multipart_constructor(self): argument
2732 def test_multipart_default_policy(self): argument
2738 def test_multipart_custom_policy(self): argument
2749 def test_nonmultipart_is_not_multipart(self): argument
2753 def test_attach_raises_exception(self): argument
2769 def _msgobj(self, filename): argument
2775 def _idempotent(self, msg, text, unixfrom=False): argument
2782 def test_parse_text_message(self): argument
2794 def test_parse_untyped_message(self): argument
2802 def test_simple_multipart(self): argument
2806 def test_MIME_digest(self): argument
2810 def test_long_header(self): argument
2814 def test_MIME_digest_with_part_headers(self): argument
2818 def test_mixed_with_image(self): argument
2822 def test_multipart_report(self): argument
2826 def test_dsn(self): argument
2830 def test_preamble_epilogue(self): argument
2834 def test_multipart_one_part(self): argument
2838 def test_multipart_no_parts(self): argument
2842 def test_no_start_boundary(self): argument
2846 def test_rfc2231_charset(self): argument
2850 def test_more_rfc2231_parameters(self): argument
2854 def test_text_plain_in_a_multipart_digest(self): argument
2858 def test_nested_multipart_mixeds(self): argument
2862 def test_message_external_body_idempotent(self): argument
2866 def test_message_delivery_status(self): argument
2870 def test_message_signed_idempotent(self): argument
2874 def test_content_type(self): argument
2905 def test_parser(self): argument
2925 def test_message_from_string(self): argument
2936 def test_message_from_file(self): argument
2948 def test_message_from_string_with_class(self): argument
2965 def test_message_from_file_with_class(self): argument
2979 def test_custom_message_does_not_require_arguments(self): argument
2981 def __init__(self): argument
2986 def test__all__(self): argument
2996 def test_formatdate(self): argument
3001 def test_formatdate_localtime(self): argument
3007 def test_formatdate_usegmt(self): argument
3017 def test_parsedate_returns_None_for_invalid_strings(self): argument
3031 def test_parsedate_compact(self): argument
3036 def test_parsedate_no_dayofweek(self): argument
3041 def test_parsedate_compact_no_dayofweek(self): argument
3046 def test_parsedate_no_space_before_positive_offset(self): argument
3050 def test_parsedate_no_space_before_negative_offset(self): argument
3056 def test_parsedate_accepts_time_with_dots(self): argument
3063 def test_parsedate_acceptable_to_time_functions(self): argument
3074 def test_mktime_tz(self): argument
3080 def test_parsedate_y2k(self): argument
3093 def test_parseaddr_empty(self): argument
3097 def test_parseaddr_multiple_domains(self): argument
3111 def test_noquote_dump(self): argument
3116 def test_escape_dump(self): argument
3127 def test_escape_backslashes(self): argument
3135 def test_quotes_unicode_names(self): argument
3145 def test_accepts_any_charset_like_object(self): argument
3152 def header_encode(self, string): argument
3160 def test_invalid_charset_like_object_raises_error(self): argument
3169 def test_unicode_address_raises_error(self): argument
3175 def test_name_with_dot(self): argument
3184 def test_parseaddr_preserves_quoted_pairs_in_addresses(self): argument
3202 def test_parseaddr_preserves_spaces_in_local_part(self): argument
3220 def test_formataddr_does_not_quote_parens_in_quoted_string(self): argument
3229 def test_multiline_from_comment(self): argument
3235 def test_quote_dump(self): argument
3240 def test_charset_richcomparisons(self): argument
3260 def test_getaddresses(self): argument
3267 def test_getaddresses_nasty(self): argument
3277 def test_getaddresses_embedded_comment(self): argument
3283 def test_getaddresses_header_obj(self): argument
3288 def test_make_msgid_collisions(self): argument
3291 def run(self): argument
3307 def test_utils_quote_unquote(self): argument
3314 def test_get_body_encoding_with_bogus_charset(self): argument
3318 def test_get_body_encoding_with_uppercase_charset(self): argument
3344 def test_charsets_case_insensitive(self): argument
3349 def test_partial_falls_inside_message_delivery_status(self): argument
3391 def test_make_msgid_domain(self): argument
3396 def test_make_msgid_idstring(self): argument
3402 def test_make_msgid_default_domain(self): argument
3409 def test_Generator_linend(self): argument
3420 def test_BytesGenerator_linend(self): argument
3431 def test_BytesGenerator_linend_with_non_ascii(self): argument
3443 def test_mime_classes_policy_argument(self): argument
3467 def test_body_line_iterator(self): argument
3484 def test_typed_subpart_iterator(self): argument
3501 def test_typed_subpart_iterator_default_type(self): argument
3520 def test_pushCR_LF(self): argument
3550 def test_push_random(self): argument
3571 def parse(self, chunks): argument
3577 def test_empty_header_name_handled(self): argument
3583 def test_newlines(self): argument
3601 def test_long_lines(self): argument
3619 def test_header_parser(self): argument
3630 def test_bytes_header_parser(self): argument
3642 def test_bytes_parser_does_not_close_file(self): argument
3647 def test_bytes_parser_on_exception_does_not_close_file(self): argument
3655 def test_parser_does_not_close_file(self): argument
3660 def test_parser_on_exception_does_not_close_file(self): argument
3667 def test_whitespace_continuation(self): argument
3685 def test_whitespace_continuation_last_header(self): argument
3703 def test_crlf_separation(self): argument
3714 def test_crlf_flatten(self): argument
3726 def test_multipart_digest_with_extra_mime_headers(self): argument
3757 def test_three_lines(self): argument
3765 def test_strip_line_feed_and_carriage_return_in_headers(self): argument
3776 def test_rfc2822_header_syntax(self): argument
3784 def test_rfc2822_space_not_allowed_in_header(self): argument
3790 def test_rfc2822_one_character_header(self): argument
3799 def test_CRLFLF_at_end_of_part(self): argument
3838 def test_known_8bit_CTE(self): argument
3847 def test_unknown_8bit_CTE(self): argument
3856 def test_8bit_in_quopri_body(self): argument
3874 def test_invalid_8bit_in_non_8bit_cte_uses_replace(self): argument
3890 def test_8bit_in_base64_body(self): argument
3903 def test_8bit_in_uuencode_body(self): argument
3927 def test_get_8bit_header(self): argument
3932 def test_print_8bit_headers(self): argument
3945 def test_values_with_8bit_headers(self): argument
3956 def test_items_with_8bit_headers(self): argument
3968 def test_get_all_with_8bit_headers(self): argument
3974 def test_get_content_type_with_8bit(self): argument
3983 def test_get_params_with_8bit(self): argument
3993 def test_get_rfc2231_params_with_8bit(self): argument
4001 def test_set_rfc2231_params_with_8bit(self): argument
4009 def test_del_rfc2231_params_with_8bit(self): argument
4018 def test_get_payload_with_8bit_cte_header(self): argument
4040 def test_bytes_generator(self): argument
4046 def test_bytes_generator_handles_None_body(self): argument
4066 def test_generator_handles_8bit(self): argument
4072 def test_str_generator_should_not_mutate_msg_when_handling_8bit(self): argument
4082 def test_bytes_generator_with_unix_from(self): argument
4099 def test_message_from_binary_file(self): argument
4130 def test_string_generator_reencodes_to_quopri_when_appropriate(self): argument
4134 def test_decoded_generator_emits_unicode_body(self): argument
4144 def test_bytes_feedparser(self): argument
4151 def test_crlf_flatten(self): argument
4160 def test_8bit_multipart(self): argument
4206 def test_bytes_generator_b_encoding_linesep(self): argument
4218 def test_generator_b_encoding_linesep(self): argument
4237 def _msgobj(self, filename): argument
4244 def _idempotent(self, msg, data, unixfrom=False): argument
4266 def test_len(self): argument
4279 def test_decode(self): argument
4284 def test_encode(self): argument
4306 def test_header_encode(self): argument
4318 def setUp(self): argument
4340 def test_quopri_header_check(self): argument
4348 def test_quopri_body_check(self): argument
4356 def test_header_quopri_len(self): argument
4381 def test_body_quopri_len(self): argument
4388 def test_quote_unquote_idempotent(self): argument
4393 def _test_header_encode(self, header, expected_encoded_header, charset=None): argument
4400 def test_header_encode_null(self): argument
4403 def test_header_encode_one_word(self): argument
4406 def test_header_encode_two_lines(self): argument
4410 def test_header_encode_non_ascii(self): argument
4414 def test_header_encode_alt_charset(self): argument
4418 def _test_header_decode(self, encoded_header, expected_decoded_header): argument
4422 def test_header_decode_null(self): argument
4425 def test_header_decode_one_word(self): argument
4428 def test_header_decode_two_lines(self): argument
4431 def test_header_decode_non_ascii(self): argument
4434 def test_header_decode_re_bug_18380(self): argument
4438 def _test_decode(self, encoded, expected_decoded, eol=None): argument
4445 def test_decode_null_word(self): argument
4448 def test_decode_null_line_null_word(self): argument
4451 def test_decode_one_word(self): argument
4454 def test_decode_one_word_eol(self): argument
4457 def test_decode_one_line(self): argument
4460 def test_decode_one_line_lf(self): argument
4463 def test_decode_one_line_cr(self): argument
4466 def test_decode_one_line_nl(self): argument
4469 def test_decode_one_line_crnl(self): argument
4472 def test_decode_one_line_one_word(self): argument
4475 def test_decode_one_line_one_word_eol(self): argument
4478 def test_decode_two_lines(self): argument
4481 def test_decode_two_lines_eol(self): argument
4484 def test_decode_one_long_line(self): argument
4487 def test_decode_one_space(self): argument
4490 def test_decode_multiple_spaces(self): argument
4493 def test_decode_one_line_trailing_spaces(self): argument
4496 def test_decode_two_lines_trailing_spaces(self): argument
4499 def test_decode_quoted_word(self): argument
4502 def test_decode_uppercase_quoting(self): argument
4505 def test_decode_lowercase_quoting(self): argument
4508 def test_decode_soft_line_break(self): argument
4511 def test_decode_false_quoting(self): argument
4514 def _test_encode(self, body, expected_encoded_body, maxlinelen=None, eol=None): argument
4534 def test_encode_null(self): argument
4537 def test_encode_null_lines(self): argument
4540 def test_encode_one_line(self): argument
4543 def test_encode_one_line_crlf(self): argument
4546 def test_encode_one_line_eol(self): argument
4549 def test_encode_one_line_eol_after_non_ascii(self): argument
4554 def test_encode_one_space(self): argument
4557 def test_encode_one_line_one_space(self): argument
4565 def test_encode_two_lines_one_space(self): argument
4568 def test_encode_one_word_trailing_spaces(self): argument
4571 def test_encode_one_line_trailing_spaces(self): argument
4574 def test_encode_one_word_trailing_tab(self): argument
4577 def test_encode_one_line_trailing_tab(self): argument
4580 def test_encode_trailing_space_before_maxlinelen(self): argument
4583 def test_encode_trailing_space_at_maxlinelen(self): argument
4586 def test_encode_trailing_space_beyond_maxlinelen(self): argument
4589 def test_encode_whitespace_lines(self): argument
4592 def test_encode_quoted_equals(self): argument
4595 def test_encode_one_long_string(self): argument
4598 def test_encode_one_long_line(self): argument
4601 def test_encode_one_very_long_line(self): argument
4605 def test_encode_shortest_maxlinelen(self): argument
4608 def test_encode_maxlinelen_too_small(self): argument
4611 def test_encode(self): argument
4640 def tearDown(self): argument
4647 def test_codec_encodeable(self): argument
4658 def test_body_encode(self): argument
4689 def test_unicode_charset_name(self): argument
4698 def test_simple(self): argument
4705 def test_simple_surprise(self): argument
4712 def test_header_needs_no_decoding(self): argument
4716 def test_long(self): argument
4722 def test_multilingual(self): argument
4785 def test_empty_header_encode(self): argument
4789 def test_header_ctor_default_args(self): argument
4796 def test_explicit_maxlinelen(self): argument
4815 def test_quopri_splittable(self): argument
4884 def test_base64_splittable(self): argument
4938 def test_us_ascii_header(self): argument
4946 def test_string_charset(self): argument
4961 def test_utf8_shortest(self): argument
4968 def test_bad_8bit_header(self): argument
4980 def test_escaped_8bit_header(self): argument
4988 def test_header_handles_binary_unknown8bit(self): argument
4995 def test_make_header_handles_binary_unknown8bit(self): argument
5003 def test_modify_returned_list_does_not_change_header(self): argument
5009 def test_encoded_adjacent_nonencoded(self): argument
5019 def test_whitespace_keeper(self): argument
5028 def test_broken_base64_header(self): argument
5033 def test_shift_jis_charset(self): argument
5037 def test_flatten_header_with_no_value(self): argument
5044 def test_encode_preserves_leading_ws_on_value(self): argument
5049 def test_whitespace_header(self): argument
5059 def test_get_param(self): argument
5067 def test_set_param(self): argument
5104 def test_set_param_requote(self): argument
5114 def test_del_param(self): argument
5147 def test_rfc2231_get_content_charset(self): argument
5153 def test_rfc2231_parse_rfc_quoting(self): argument
5167 def test_rfc2231_parse_extra_quoting(self): argument
5183 def test_rfc2231_no_language_or_charset(self): argument
5198 def test_rfc2231_no_language_or_charset_in_filename(self): argument
5211 def test_rfc2231_no_language_or_charset_in_filename_encoded(self): argument
5225 def test_rfc2231_partly_encoded(self): argument
5238 def test_rfc2231_partly_nonencoded(self): argument
5251 def test_rfc2231_no_language_or_charset_in_boundary(self): argument
5263 def test_rfc2231_no_language_or_charset_in_charset(self): argument
5277 def test_rfc2231_bad_encoding_in_filename(self): argument
5289 def test_rfc2231_bad_encoding_in_charset(self): argument
5299 def test_rfc2231_bad_character_in_charset(self): argument
5309 def test_rfc2231_bad_character_in_filename(self): argument
5321 def test_rfc2231_unknown_encoding(self): argument
5330 def test_rfc2231_single_tick_in_filename_extended(self): argument
5344 def test_rfc2231_single_tick_in_filename(self): argument
5354 def test_rfc2231_missing_tick(self): argument
5364 def test_rfc2231_missing_tick_with_encoded_non_ascii(self): argument
5375 def test_rfc2231_tick_attack_extended(self): argument
5389 def test_rfc2231_tick_attack(self): argument
5401 def test_rfc2231_no_extended_values(self): argument
5411 def test_rfc2231_encoded_then_unencoded_segments(self): argument
5428 def test_rfc2231_unencoded_then_encoded_segments(self): argument
5443 def test_should_not_hang_on_invalid_ew_messages(self): argument
5471 def _msg_and_obj(self, filename): argument
5477 def _signed_parts_eq(self, original, result): argument
5485 def test_long_headers_as_string(self): argument
5490 def test_long_headers_as_string_maxheaderlen(self): argument
5495 def test_long_headers_flatten(self): argument