def test_pid(self): p = sh.true() self.assert_(p.pid>0)
def test_pid(self): p = sh.true() self.assert_(p.pid > 0)
def test_rc(self): p = sh.true() self.assertEqual(p.retcode, 0) p = sh.false() self.assertEqual(p.retcode, 1)