def test_raw_encode(self): self.assertTupleEqual(raw_encode('foo'.encode('utf-8')), ('application/data', 'binary', 'foo'.encode('utf-8')))
def test_raw_encode(self): self.assertTupleEqual( raw_encode('foo'.encode('utf-8')), ('application/data', 'binary', 'foo'.encode('utf-8')), )
def test_raw_encode(self): assert raw_encode(b'foo') == ( 'application/data', 'binary', b'foo', )
def test_raw_encode(self): self.assertTupleEqual(raw_encode("foo".encode("utf-8")), ("application/data", "binary", "foo".encode("utf-8")))
def test_raw_encode(self): self.assertTupleEqual( raw_encode("foo".encode("utf-8")), ("application/data", "binary", "foo".encode("utf-8")))
def test_raw_encode(self): assert raw_encode('foo'.encode('utf-8')) == ( 'application/data', 'binary', 'foo'.encode('utf-8'), )