Lines Matching refs:base64MIME
32 from email import base64MIME
2231 'Parser', 'Utils', 'base64MIME',
2233 'base64mime', 'charset', 'encoders', 'errors', 'generator',
2766 eq(base64MIME.base64_len('hello'),
2767 len(base64MIME.encode('hello', eol='')))
2775 eq(base64MIME.base64_len('x'*size), bsize)
2779 eq(base64MIME.decode(''), '')
2780 eq(base64MIME.decode('aGVsbG8='), 'hello')
2781 eq(base64MIME.decode('aGVsbG8=', 'X'), 'hello')
2782 eq(base64MIME.decode('aGVsbG8NCndvcmxk\n', 'X'), 'helloXworld')
2786 eq(base64MIME.encode(''), '')
2787 eq(base64MIME.encode('hello'), 'aGVsbG8=\n')
2789 eq(base64MIME.encode('hello\n'), 'aGVsbG8K\n')
2790 eq(base64MIME.encode('hello\n', 0), 'aGVsbG8NCg==\n')
2792 eq(base64MIME.encode('xxxx ' * 20, maxlinelen=40), """\
2799 eq(base64MIME.encode('xxxx ' * 20, maxlinelen=40, eol='\r\n'), """\
2808 he = base64MIME.header_encode