Merge from Subversion:
authorMartin Pool <mbp@samba.org>
Fri, 4 Apr 2003 03:14:48 +0000 (03:14 +0000)
committerMartin Pool <mbp@samba.org>
Fri, 4 Apr 2003 03:14:48 +0000 (03:14 +0000)
Add example of a test that fails.

source/stf/example.py

index 1f121fd9afdb5dffc86a97f6a5a4fcc18b3fa8e0..96e34bf3d3b8d93b42cff13125be90d8fae6a764 100755 (executable)
@@ -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)