| 1050 | =?utf-8?b?44Go6KiA44Gj44Gm44GE44G+44GZ44CC?=""") |
| 1051 | |
| 1052 | def test_long_header_encode(self): |
| 1053 | eq = self.ndiffAssertEqual |
| 1054 | h = Header('wasnipoop; giraffes="very-long-necked-animals"; ' |
| 1055 | 'spooge="yummy"; hippos="gargantuan"; marshmallows="gooey"', |
| 1056 | header_name='X-Foobar-Spoink-Defrobnit') |
| 1057 | eq(h.encode(), '''\ |
| 1058 | wasnipoop; giraffes="very-long-necked-animals"; |
| 1059 | spooge="yummy"; hippos="gargantuan"; marshmallows="gooey"''') |
| 1060 | |
| 1061 | def test_long_header_encode_with_tab_continuation_is_just_a_hint(self): |
| 1062 | eq = self.ndiffAssertEqual |