3 # meta-test-case / example for comfychair. Should demonstrate
4 # different kinds of failure.
8 class NormalTest(comfychair.TestCase):
12 class RootTest(comfychair.TestCase):
19 class GoodExecTest(comfychair.TestCase):
21 stdout = self.runcmd("ls -l")
23 class BadExecTest(comfychair.TestCase):
25 exit, stdout = self.runcmd_unchecked("spottyfoot --slobber",
29 tests = [NormalTest, RootTest, GoodExecTest, BadExecTest]
31 if __name__ == '__main__':
32 comfychair.main(tests)