

def test_pipe(self):
    r = envoy.run("echo -n 'hi'| tr [:lower:] [:upper:]")
    self.assertEqual(r.std_out, 'HI')
    self.assertEqual(r.status_code, 0)

dataset/ETHPy150Open kennethreitz/envoy/test_envoy.py SimpleTest.test_pipe/original