X-Git-Url: http://git.samba.org/?p=samba.git;a=blobdiff_plain;f=source%2Fstf%2Fexample.py;h=96e34bf3d3b8d93b42cff13125be90d8fae6a764;hp=1f121fd9afdb5dffc86a97f6a5a4fcc18b3fa8e0;hb=1b1bb8ac37464339a7bffc84eb6d96ee1ae7d33d;hpb=54f4df0301f21c91218abf6f17cae097e755fd7f;ds=inline diff --git a/source/stf/example.py b/source/stf/example.py index 1f121fd9afd..96e34bf3d3b 100755 --- a/source/stf/example.py +++ b/source/stf/example.py @@ -26,8 +26,13 @@ class OnePlusOne(comfychair.TestCase): def runtest(self): self.assert_(1 + 1 == 2) +class FailTest(comfychair.TestCase): + def runtest(self): + self.assert_(1 + 1 == 3) + tests = [OnePlusOne] +extra_tests = [FailTest] if __name__ == '__main__': - comfychair.main(tests) + comfychair.main(tests, extra_tests=extra_tests)