Searched refs:encodestring (Results 1 – 13 of 13) sorted by relevance
10 eq(base64.encodestring("www.python.org"), "d3d3LnB5dGhvbi5vcmc=\n")11 eq(base64.encodestring("a"), "YQ==\n")12 eq(base64.encodestring("ab"), "YWI=\n")13 eq(base64.encodestring("abc"), "YWJj\n")14 eq(base64.encodestring(""), "")15 eq(base64.encodestring("abcdefghijklmnopqrstuvwxyz"
133 self.assertTrue(quopri.encodestring(p) == e)143 self.assertTrue(quopri.decodestring(quopri.encodestring(e)) == e)164 self.assertTrue(quopri.encodestring(p, quotetabs=True) == e)170 self.assertTrue(quopri.encodestring(p, header=True) == e)
266 de = base64.encodestring(d)
1196 auth_hdr_value = 'Basic '+base64.encodestring(userpass).strip()
16 from quopri import encodestring as _encodestring32 value = base64.encodestring(s)
156 encodestring = encode variable
262 encodestring = encode variable
24 output = base64.encodestring(input)55 return base64.encodestring(input)
310 def encodestring(s): function354 s1 = encodestring(s0)
105 def encodestring(s, quotetabs = 0, header = 0): function
402 base64.encodestring(der_cert_bytes) +
1345 auth = base64.encodestring(urllib.unquote(auth))