예제 #1
0
 def test_pid(self):
     p = sh.true()
     self.assert_(p.pid>0)
예제 #2
0
 def test_pid(self):
     p = sh.true()
     self.assert_(p.pid > 0)
예제 #3
0
 def test_rc(self):
     p = sh.true()
     self.assertEqual(p.retcode, 0)
     p = sh.false()
     self.assertEqual(p.retcode, 1)
예제 #4
0
 def test_rc(self):
     p = sh.true()
     self.assertEqual(p.retcode, 0)
     p = sh.false()
     self.assertEqual(p.retcode, 1)