Lines Matching defs:self
57 def test_get_all(self): argument
63 def test_getset_charset(self): argument
89 def test_set_charset_from_string(self): argument
96 def test_set_payload_with_charset(self): argument
102 def test_set_payload_with_8bit_data_and_charset(self): argument
111 def test_set_payload_with_non_ascii_and_charset_body_encoding_none(self): argument
120 def test_set_payload_with_8bit_data_and_charset_body_encoding_none(self): argument
129 def test_set_payload_to_list(self): argument
134 def test_attach_when_payload_is_string(self): argument
142 def test_get_charsets(self): argument
159 def test_get_filename(self): argument
170 def test_get_filename_with_name_parameter(self): argument
177 def test_get_boundary(self): argument
183 def test_set_boundary(self): argument
205 def test_make_boundary(self): argument
216 def test_message_rfc822_only(self): argument
228 def test_byte_message_rfc822_only(self): argument
239 def test_get_decoded_payload(self): argument
261 def test_get_decoded_uu_payload(self): argument
272 def test_get_payload_n_raises_on_non_multipart(self): argument
276 def test_decoded_generator(self): argument
286 def test__contains__(self): argument
298 def test_as_string(self): argument
308 def test_as_string_policy(self): argument
317 def test_nonascii_as_string_without_cte(self): argument
339 def test_nonascii_as_string_without_content_type_and_cte(self): argument
352 def test_as_bytes(self): argument
362 def test_as_bytes_policy(self): argument
372 def test_bad_param(self): argument
376 def test_missing_filename(self): argument
380 def test_bogus_filename(self): argument
385 def test_missing_boundary(self): argument
389 def test_get_params(self): argument
406 def test_get_param_liberal(self): argument
411 def test_get_param(self): argument
429 def test_get_param_funky_continuation_lines(self): argument
434 def test_get_param_with_semis_in_quotes(self): argument
442 def test_get_param_with_quotes(self): argument
450 def test_field_containment(self): argument
457 def test_set_param(self): argument
474 def test_del_param(self): argument
491 def test_del_param_on_other_header(self): argument
497 def test_del_param_on_nonexistent_header(self): argument
502 def test_del_nonexistent_param(self): argument
509 def test_set_type(self): argument
520 def test_set_type_on_other_header(self): argument
526 def test_get_content_type_missing(self): argument
530 def test_get_content_type_missing_with_default_type(self): argument
535 def test_get_content_type_from_message_implicit(self): argument
540 def test_get_content_type_from_message_explicit(self): argument
545 def test_get_content_type_from_message_text_plain_implicit(self): argument
549 def test_get_content_type_from_message_text_plain_explicit(self): argument
553 def test_get_content_maintype_missing(self): argument
557 def test_get_content_maintype_missing_with_default_type(self): argument
562 def test_get_content_maintype_from_message_implicit(self): argument
566 def test_get_content_maintype_from_message_explicit(self): argument
570 def test_get_content_maintype_from_message_text_plain_implicit(self): argument
574 def test_get_content_maintype_from_message_text_plain_explicit(self): argument
578 def test_get_content_subtype_missing(self): argument
582 def test_get_content_subtype_missing_with_default_type(self): argument
587 def test_get_content_subtype_from_message_implicit(self): argument
591 def test_get_content_subtype_from_message_explicit(self): argument
595 def test_get_content_subtype_from_message_text_plain_implicit(self): argument
599 def test_get_content_subtype_from_message_text_plain_explicit(self): argument
603 def test_get_content_maintype_error(self): argument
608 def test_get_content_subtype_error(self): argument
613 def test_replace_header(self): argument
630 def test_get_content_disposition(self): argument
642 def test_broken_base64_payload(self): argument
654 def test_broken_unicode_payload(self): argument
665 def test_questionable_bytes_payload(self): argument
676 def test_ascii_add_header(self): argument
683 def test_noascii_add_header(self): argument
691 def test_nonascii_add_header_via_triple(self): argument
699 def test_ascii_add_header_with_tspecial(self): argument
707 def test_nonascii_add_header_with_tspecial(self): argument
715 def test_binary_quopri_payload(self): argument
726 def test_binary_base64_payload(self): argument
737 def test_binary_uuencode_payload(self): argument
751 def test_add_header_with_name_only_param(self): argument
756 def test_add_header_with_no_value(self): argument
763 def test_embedded_header_via_Header_rejected(self): argument
768 def test_embedded_header_via_string_rejected(self): argument
773 def test_unicode_header_defaults_to_utf8_encoding(self): argument
786 def test_unicode_body_defaults_to_utf8_encoding(self): argument
801 def test_EncodersEncode_base64(self): argument
810 def test_encode_empty_payload(self): argument
816 def test_default_cte(self): argument
828 def test_encode7or8bit(self): argument
843 def test_qp_encode_latin1(self): argument
853 def test_qp_encode_non_latin1(self): argument
870 def test_split_long_continuation(self): argument
890 def test_another_long_almost_unsplittable_header(self): argument
907 def test_long_nonstring(self): argument
961 def test_long_header_encode(self): argument
970 def test_long_header_encode_with_tab_continuation_is_just_a_hint(self): argument
980 def test_long_header_encode_with_tab_continuation(self): argument
990 def test_header_encode_with_different_output_charset(self): argument
994 def test_long_header_encode_with_different_output_charset(self): argument
1004 def test_header_splitter(self): argument
1024 def test_no_semis_header_splitter(self): argument
1040 def test_last_split_chunk_does_not_fit(self): argument
1049 def test_splittable_leading_char_followed_by_overlong_unsplittable(self): argument
1058 def test_multiple_splittable_leading_char_followed_by_overlong_unsplittable(self): argument
1067 def test_trailing_splittable_on_overlong_unsplittable(self): argument
1074 def test_trailing_splittable_on_overlong_unsplittable_with_leading_splittable(self): argument
1083 def test_long_header_with_multiple_sequential_split_chars(self): argument
1091 def test_splitter_split_on_punctuation_only_if_fws_with_header(self): argument
1098 def test_leading_splittable_in_the_middle_just_before_overlong_last_part(self): argument
1109 def test_overlong_last_part_followed_by_split_point(self): argument
1116 def test_multiline_with_overlong_parts_separated_by_two_split_points(self): argument
1127 def test_multiline_with_overlong_last_part_followed_by_split_point(self): argument
1138 def test_long_header_with_whitespace_runs(self): argument
1155 def test_long_run_with_semi_header_splitter(self): argument
1172 def test_splitter_split_on_punctuation_only_if_fws(self): argument
1190 def test_no_split_long_header(self): argument
1202 def test_splitting_multiple_long_lines(self): argument
1224 def test_splitting_first_line_only_is_long(self): argument
1240 def test_long_8bit_header(self): argument
1260 def test_long_8bit_header_no_charset(self): argument
1281 def test_long_to_header(self): argument
1298 def test_long_line_after_append(self): argument
1307 def test_shorter_line_with_append(self): argument
1315 def test_long_field_name(self): argument
1330 def test_long_received_header(self): argument
1348 def test_string_headerinst_eq(self): argument
1367 def test_long_unbreakable_lines_with_continuation(self): argument
1391 def test_another_long_multiline_header(self): argument
1404 def test_long_lines_with_different_header(self): argument
1423 def test_long_rfc2047_header_with_embedded_fws(self): argument
1440 def setUp(self): argument
1448 def test_mangled_from(self): argument
1459 def test_dont_mangle_from(self): argument
1470 def test_mangle_from_in_preamble_and_epilog(self): argument
1493 def test_mangled_from_with_bad_bytes(self): argument
1507 def test_multipart_with_bad_bytes_in_cte(self): argument
1519 def _make_audio(self, ext): argument
1524 def test_guess_minor_type(self): argument
1535 def test_encoding(self): argument
1541 def test_checkSetMinor(self): argument
1546 def test_add_header(self): argument
1571 def _make_image(self, ext): argument
1576 def test_guess_minor_type(self): argument
1596 def test_encoding(self): argument
1602 def test_checkSetMinor(self): argument
1607 def test_add_header(self): argument
1630 def test_headers(self): argument
1636 def test_body(self): argument
1644 def test_binary_body_with_encode_7or8bit(self): argument
1661 def test_binary_body_with_encode_noop(self): argument
1678 def test_binary_body_with_unicode_linend_encode_noop(self): argument
1690 def test_binary_body_with_encode_quopri(self): argument
1706 def test_binary_body_with_encode_base64(self): argument
1722 def setUp(self): argument
1725 def test_types(self): argument
1734 def test_payload(self): argument
1738 def test_charset(self): argument
1751 def test_7bit_input(self): argument
1757 def test_7bit_input_no_charset(self): argument
1764 def test_utf8_input(self): argument
1774 def test_utf8_input_no_charset(self): argument
1782 def setUp(self): argument
1818 def test_hierarchy(self): argument
1836 def test_empty_multipart_idempotent(self): argument
1853 def test_no_parts_in_a_multipart_with_none_epilogue(self): argument
1871 def test_no_parts_in_a_multipart_with_empty_epilogue(self): argument
1892 def test_one_part_in_a_multipart(self): argument
1917 def test_seq_parts_in_a_multipart_with_empty_preamble(self): argument
1945 def test_seq_parts_in_a_multipart_with_none_preamble(self): argument
1972 def test_seq_parts_in_a_multipart_with_none_epilogue(self): argument
1999 def test_seq_parts_in_a_multipart_with_empty_epilogue(self): argument
2026 def test_seq_parts_in_a_multipart_with_nl_epilogue(self): argument
2053 def test_message_external_body(self): argument
2066 def test_double_boundary(self): argument
2073 def test_nested_inner_contains_outer_boundary(self): argument
2092 def test_nested_with_same_boundary(self): argument
2109 def test_boundary_in_non_multipart(self): argument
2124 def test_boundary_with_leading_space(self): argument
2143 def test_boundary_without_trailing_newline(self): argument
2157 def test_mimebase_default_policy(self): argument
2161 def test_mimebase_custom_policy(self): argument
2168 def test_parse_missing_minor_type(self): argument
2176 def test_same_boundary_inner_outer(self): argument
2186 def test_multipart_no_boundary(self): argument
2219 def test_multipart_invalid_cte(self): argument
2227 def test_multipart_no_cte_no_defect(self): argument
2232 def test_multipart_valid_cte_no_defect(self): argument
2240 def test_invalid_content_type(self): argument
2261 def test_no_start_boundary(self): argument
2278 def test_no_separating_blank_line(self): argument
2290 def test_lying_multipart(self): argument
2300 def test_missing_start_boundary(self): argument
2316 def test_first_line_is_continuation_header(self): argument
2328 def test_missing_header_body_separator(self): argument
2342 def test_rfc2047_multiline(self): argument
2359 def test_whitespace_keeper_unicode(self): argument
2368 def test_whitespace_keeper_unicode_2(self): argument
2377 def test_rfc2047_missing_whitespace(self): argument
2384 def test_rfc2047_with_whitespace(self): argument
2391 def test_rfc2047_B_bad_padding(self): argument
2401 def test_rfc2047_Q_invalid_digits(self): argument
2407 def test_rfc2047_rfc2047_1(self): argument
2413 def test_rfc2047_rfc2047_2(self): argument
2419 def test_rfc2047_rfc2047_3(self): argument
2425 def test_rfc2047_rfc2047_4(self): argument
2431 def test_rfc2047_rfc2047_5a(self): argument
2437 def test_rfc2047_rfc2047_5b(self): argument
2443 def test_rfc2047_rfc2047_6(self): argument
2449 def test_rfc2047_rfc2047_7(self): argument
2458 def test_multiline_header(self): argument
2471 def setUp(self): argument
2475 def test_type_error(self): argument
2478 def test_valid_argument(self): argument
2492 def test_bad_multipart(self): argument
2500 def test_generate(self): argument
2520 def test_parse_message_rfc822(self): argument
2532 def test_dsn(self): argument
2589 def test_epilogue(self): argument
2609 def test_no_nl_preamble(self): argument
2644 def test_default_type(self): argument
2661 def test_default_type_with_explicit_container_type(self): argument
2678 def test_default_type_non_parsed(self): argument
2752 def test_mime_attachments_in_constructor(self): argument
2761 def test_default_multipart_constructor(self): argument
2765 def test_multipart_default_policy(self): argument
2771 def test_multipart_custom_policy(self): argument
2782 def test_nonmultipart_is_not_multipart(self): argument
2786 def test_attach_raises_exception(self): argument
2802 def _msgobj(self, filename): argument
2808 def _idempotent(self, msg, text, unixfrom=False): argument
2815 def test_parse_text_message(self): argument
2827 def test_parse_untyped_message(self): argument
2835 def test_simple_multipart(self): argument
2839 def test_MIME_digest(self): argument
2843 def test_long_header(self): argument
2847 def test_MIME_digest_with_part_headers(self): argument
2851 def test_mixed_with_image(self): argument
2855 def test_multipart_report(self): argument
2859 def test_dsn(self): argument
2863 def test_preamble_epilogue(self): argument
2867 def test_multipart_one_part(self): argument
2871 def test_multipart_no_parts(self): argument
2875 def test_no_start_boundary(self): argument
2879 def test_rfc2231_charset(self): argument
2883 def test_more_rfc2231_parameters(self): argument
2887 def test_text_plain_in_a_multipart_digest(self): argument
2891 def test_nested_multipart_mixeds(self): argument
2895 def test_message_external_body_idempotent(self): argument
2899 def test_message_delivery_status(self): argument
2903 def test_message_signed_idempotent(self): argument
2907 def test_content_type(self): argument
2938 def test_parser(self): argument
2958 def test_message_from_string(self): argument
2969 def test_message_from_file(self): argument
2981 def test_message_from_string_with_class(self): argument
2998 def test_message_from_file_with_class(self): argument
3012 def test_custom_message_does_not_require_arguments(self): argument
3014 def __init__(self): argument
3019 def test__all__(self): argument
3029 def test_formatdate(self): argument
3034 def test_formatdate_localtime(self): argument
3040 def test_formatdate_usegmt(self): argument
3050 def test_parsedate_returns_None_for_invalid_strings(self): argument
3072 def test_parsedate_compact(self): argument
3082 def test_parsedate_no_dayofweek(self): argument
3089 def test_parsedate_no_space_before_positive_offset(self): argument
3093 def test_parsedate_no_space_before_negative_offset(self): argument
3098 def test_parsedate_accepts_time_with_dots(self): argument
3105 def test_parsedate_rfc_850(self): argument
3109 def test_parsedate_no_seconds(self): argument
3113 def test_parsedate_dot_time_delimiter(self): argument
3119 def test_parsedate_acceptable_to_time_functions(self): argument
3130 def test_mktime_tz(self): argument
3136 def test_parsedate_y2k(self): argument
3149 def test_parseaddr_empty(self): argument
3153 def test_parseaddr_multiple_domains(self): argument
3167 def test_noquote_dump(self): argument
3172 def test_escape_dump(self): argument
3183 def test_escape_backslashes(self): argument
3191 def test_quotes_unicode_names(self): argument
3201 def test_accepts_any_charset_like_object(self): argument
3208 def header_encode(self, string): argument
3216 def test_invalid_charset_like_object_raises_error(self): argument
3225 def test_unicode_address_raises_error(self): argument
3231 def test_name_with_dot(self): argument
3240 def test_parseaddr_preserves_quoted_pairs_in_addresses(self): argument
3258 def test_parseaddr_preserves_spaces_in_local_part(self): argument
3276 def test_formataddr_does_not_quote_parens_in_quoted_string(self): argument
3285 def test_multiline_from_comment(self): argument
3291 def test_quote_dump(self): argument
3296 def test_charset_richcomparisons(self): argument
3316 def test_getaddresses(self): argument
3323 def test_getaddresses_nasty(self): argument
3333 def test_getaddresses_embedded_comment(self): argument
3339 def test_getaddresses_header_obj(self): argument
3345 def test_make_msgid_collisions(self): argument
3348 def run(self): argument
3364 def test_utils_quote_unquote(self): argument
3371 def test_get_body_encoding_with_bogus_charset(self): argument
3375 def test_get_body_encoding_with_uppercase_charset(self): argument
3401 def test_charsets_case_insensitive(self): argument
3406 def test_partial_falls_inside_message_delivery_status(self): argument
3448 def test_make_msgid_domain(self): argument
3453 def test_make_msgid_idstring(self): argument
3459 def test_make_msgid_default_domain(self): argument
3466 def test_Generator_linend(self): argument
3477 def test_BytesGenerator_linend(self): argument
3488 def test_BytesGenerator_linend_with_non_ascii(self): argument
3500 def test_mime_classes_policy_argument(self): argument
3524 def test_body_line_iterator(self): argument
3541 def test_typed_subpart_iterator(self): argument
3558 def test_typed_subpart_iterator_default_type(self): argument
3577 def test_pushCR_LF(self): argument
3607 def test_push_random(self): argument
3628 def parse(self, chunks): argument
3634 def test_empty_header_name_handled(self): argument
3640 def test_newlines(self): argument
3658 def test_long_lines(self): argument
3676 def test_header_parser(self): argument
3687 def test_bytes_header_parser(self): argument
3699 def test_bytes_parser_does_not_close_file(self): argument
3704 def test_bytes_parser_on_exception_does_not_close_file(self): argument
3712 def test_parser_does_not_close_file(self): argument
3717 def test_parser_on_exception_does_not_close_file(self): argument
3724 def test_whitespace_continuation(self): argument
3742 def test_whitespace_continuation_last_header(self): argument
3760 def test_crlf_separation(self): argument
3771 def test_crlf_flatten(self): argument
3783 def test_multipart_digest_with_extra_mime_headers(self): argument
3814 def test_three_lines(self): argument
3822 def test_strip_line_feed_and_carriage_return_in_headers(self): argument
3833 def test_rfc2822_header_syntax(self): argument
3841 def test_rfc2822_space_not_allowed_in_header(self): argument
3847 def test_rfc2822_one_character_header(self): argument
3856 def test_CRLFLF_at_end_of_part(self): argument
3895 def test_known_8bit_CTE(self): argument
3904 def test_unknown_8bit_CTE(self): argument
3913 def test_8bit_in_quopri_body(self): argument
3931 def test_invalid_8bit_in_non_8bit_cte_uses_replace(self): argument
3947 def test_8bit_in_base64_body(self): argument
3960 def test_8bit_in_uuencode_body(self): argument
3984 def test_get_8bit_header(self): argument
3989 def test_print_8bit_headers(self): argument
4002 def test_values_with_8bit_headers(self): argument
4013 def test_items_with_8bit_headers(self): argument
4025 def test_get_all_with_8bit_headers(self): argument
4031 def test_get_content_type_with_8bit(self): argument
4040 def test_get_params_with_8bit(self): argument
4050 def test_get_rfc2231_params_with_8bit(self): argument
4058 def test_set_rfc2231_params_with_8bit(self): argument
4066 def test_del_rfc2231_params_with_8bit(self): argument
4075 def test_get_payload_with_8bit_cte_header(self): argument
4097 def test_bytes_generator(self): argument
4103 def test_bytes_generator_handles_None_body(self): argument
4123 def test_generator_handles_8bit(self): argument
4129 def test_str_generator_should_not_mutate_msg_when_handling_8bit(self): argument
4139 def test_bytes_generator_with_unix_from(self): argument
4156 def test_message_from_binary_file(self): argument
4187 def test_string_generator_reencodes_to_quopri_when_appropriate(self): argument
4191 def test_decoded_generator_emits_unicode_body(self): argument
4201 def test_bytes_feedparser(self): argument
4208 def test_crlf_flatten(self): argument
4217 def test_8bit_multipart(self): argument
4263 def test_bytes_generator_b_encoding_linesep(self): argument
4275 def test_generator_b_encoding_linesep(self): argument
4294 def _msgobj(self, filename): argument
4301 def _idempotent(self, msg, data, unixfrom=False): argument
4323 def test_len(self): argument
4336 def test_decode(self): argument
4341 def test_encode(self): argument
4363 def test_header_encode(self): argument
4375 def setUp(self): argument
4397 def test_quopri_header_check(self): argument
4405 def test_quopri_body_check(self): argument
4413 def test_header_quopri_len(self): argument
4438 def test_body_quopri_len(self): argument
4445 def test_quote_unquote_idempotent(self): argument
4450 def _test_header_encode(self, header, expected_encoded_header, charset=None): argument
4457 def test_header_encode_null(self): argument
4460 def test_header_encode_one_word(self): argument
4463 def test_header_encode_two_lines(self): argument
4467 def test_header_encode_non_ascii(self): argument
4471 def test_header_encode_alt_charset(self): argument
4475 def _test_header_decode(self, encoded_header, expected_decoded_header): argument
4479 def test_header_decode_null(self): argument
4482 def test_header_decode_one_word(self): argument
4485 def test_header_decode_two_lines(self): argument
4488 def test_header_decode_non_ascii(self): argument
4491 def test_header_decode_re_bug_18380(self): argument
4495 def _test_decode(self, encoded, expected_decoded, eol=None): argument
4502 def test_decode_null_word(self): argument
4505 def test_decode_null_line_null_word(self): argument
4508 def test_decode_one_word(self): argument
4511 def test_decode_one_word_eol(self): argument
4514 def test_decode_one_line(self): argument
4517 def test_decode_one_line_lf(self): argument
4520 def test_decode_one_line_cr(self): argument
4523 def test_decode_one_line_nl(self): argument
4526 def test_decode_one_line_crnl(self): argument
4529 def test_decode_one_line_one_word(self): argument
4532 def test_decode_one_line_one_word_eol(self): argument
4535 def test_decode_two_lines(self): argument
4538 def test_decode_two_lines_eol(self): argument
4541 def test_decode_one_long_line(self): argument
4544 def test_decode_one_space(self): argument
4547 def test_decode_multiple_spaces(self): argument
4550 def test_decode_one_line_trailing_spaces(self): argument
4553 def test_decode_two_lines_trailing_spaces(self): argument
4556 def test_decode_quoted_word(self): argument
4559 def test_decode_uppercase_quoting(self): argument
4562 def test_decode_lowercase_quoting(self): argument
4565 def test_decode_soft_line_break(self): argument
4568 def test_decode_false_quoting(self): argument
4571 def _test_encode(self, body, expected_encoded_body, maxlinelen=None, eol=None): argument
4591 def test_encode_null(self): argument
4594 def test_encode_null_lines(self): argument
4597 def test_encode_one_line(self): argument
4600 def test_encode_one_line_crlf(self): argument
4603 def test_encode_one_line_eol(self): argument
4606 def test_encode_one_line_eol_after_non_ascii(self): argument
4611 def test_encode_one_space(self): argument
4614 def test_encode_one_line_one_space(self): argument
4622 def test_encode_two_lines_one_space(self): argument
4625 def test_encode_one_word_trailing_spaces(self): argument
4628 def test_encode_one_line_trailing_spaces(self): argument
4631 def test_encode_one_word_trailing_tab(self): argument
4634 def test_encode_one_line_trailing_tab(self): argument
4637 def test_encode_trailing_space_before_maxlinelen(self): argument
4640 def test_encode_trailing_space_at_maxlinelen(self): argument
4643 def test_encode_trailing_space_beyond_maxlinelen(self): argument
4646 def test_encode_whitespace_lines(self): argument
4649 def test_encode_quoted_equals(self): argument
4652 def test_encode_one_long_string(self): argument
4655 def test_encode_one_long_line(self): argument
4658 def test_encode_one_very_long_line(self): argument
4662 def test_encode_shortest_maxlinelen(self): argument
4665 def test_encode_maxlinelen_too_small(self): argument
4668 def test_encode(self): argument
4697 def tearDown(self): argument
4704 def test_codec_encodeable(self): argument
4715 def test_body_encode(self): argument
4746 def test_unicode_charset_name(self): argument
4755 def test_simple(self): argument
4762 def test_simple_surprise(self): argument
4769 def test_header_needs_no_decoding(self): argument
4773 def test_long(self): argument
4779 def test_multilingual(self): argument
4842 def test_empty_header_encode(self): argument
4846 def test_header_ctor_default_args(self): argument
4853 def test_explicit_maxlinelen(self): argument
4872 def test_quopri_splittable(self): argument
4941 def test_base64_splittable(self): argument
4995 def test_us_ascii_header(self): argument
5003 def test_string_charset(self): argument
5018 def test_utf8_shortest(self): argument
5025 def test_bad_8bit_header(self): argument
5037 def test_escaped_8bit_header(self): argument
5045 def test_header_handles_binary_unknown8bit(self): argument
5052 def test_make_header_handles_binary_unknown8bit(self): argument
5060 def test_modify_returned_list_does_not_change_header(self): argument
5066 def test_encoded_adjacent_nonencoded(self): argument
5076 def test_whitespace_keeper(self): argument
5085 def test_broken_base64_header(self): argument
5090 def test_shift_jis_charset(self): argument
5094 def test_flatten_header_with_no_value(self): argument
5101 def test_encode_preserves_leading_ws_on_value(self): argument
5106 def test_whitespace_header(self): argument
5116 def test_get_param(self): argument
5124 def test_set_param(self): argument
5161 def test_set_param_requote(self): argument
5171 def test_del_param(self): argument
5204 def test_rfc2231_get_content_charset(self): argument
5210 def test_rfc2231_parse_rfc_quoting(self): argument
5224 def test_rfc2231_parse_extra_quoting(self): argument
5240 def test_rfc2231_no_language_or_charset(self): argument
5255 def test_rfc2231_no_language_or_charset_in_filename(self): argument
5268 def test_rfc2231_no_language_or_charset_in_filename_encoded(self): argument
5282 def test_rfc2231_partly_encoded(self): argument
5295 def test_rfc2231_partly_nonencoded(self): argument
5308 def test_rfc2231_no_language_or_charset_in_boundary(self): argument
5320 def test_rfc2231_no_language_or_charset_in_charset(self): argument
5334 def test_rfc2231_bad_encoding_in_filename(self): argument
5346 def test_rfc2231_bad_encoding_in_charset(self): argument
5356 def test_rfc2231_bad_character_in_charset(self): argument
5366 def test_rfc2231_bad_character_in_filename(self): argument
5378 def test_rfc2231_unknown_encoding(self): argument
5387 def test_rfc2231_bad_character_in_encoding(self): argument
5396 def test_rfc2231_single_tick_in_filename_extended(self): argument
5410 def test_rfc2231_single_tick_in_filename(self): argument
5420 def test_rfc2231_missing_tick(self): argument
5430 def test_rfc2231_missing_tick_with_encoded_non_ascii(self): argument
5441 def test_rfc2231_tick_attack_extended(self): argument
5455 def test_rfc2231_tick_attack(self): argument
5467 def test_rfc2231_no_extended_values(self): argument
5477 def test_rfc2231_encoded_then_unencoded_segments(self): argument
5494 def test_rfc2231_unencoded_then_encoded_segments(self): argument
5509 def test_should_not_hang_on_invalid_ew_messages(self): argument
5537 def _msg_and_obj(self, filename): argument
5543 def _signed_parts_eq(self, original, result): argument
5551 def test_long_headers_as_string(self): argument
5556 def test_long_headers_as_string_maxheaderlen(self): argument
5561 def test_long_headers_flatten(self): argument
5570 def test_HeaderRegistry(self): argument