Example #1
0
 def bad_c(self):
     lines = shex.c("la")
     assert('command not found' in lines[0])
Example #2
0
 def test_c(self):
     list = shex.c("ls")
     assert(list==os.listdir("."))