summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsource3/stf/example.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/source3/stf/example.py b/source3/stf/example.py
index 1f121fd9af..96e34bf3d3 100755
--- a/source3/stf/example.py
+++ b/source3/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)