Coverage for tests/test_executables.py : 70%

Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
"""Test explicit shell script""" root_dir=os.path.dirname(__file__), args=["-h"], msg="testexe.sh failed")
# Try a non-existent test
# Force test to fail, explicit fail message with self.assertRaises(AssertionError): self.assertExecutable("testexe.sh", root_dir=os.path.dirname(__file__), args=["-f"], msg="testexe.sh failed")
# Force script to fail, default fail message with self.assertRaises(AssertionError): self.assertExecutable("testexe.sh", root_dir=os.path.dirname(__file__), args=["-f"])
unittest.main() |