diff options
author | Martin Pool <mbp@samba.org> | 2003-04-04 03:14:48 +0000 |
---|---|---|
committer | Martin Pool <mbp@samba.org> | 2003-04-04 03:14:48 +0000 |
commit | 03ccc4ac13651b369a83d003ee4ee50225f74e32 (patch) | |
tree | 0c4e23a94afaf06389334df39c4504c27d186f0f | |
parent | 0ac3eeaff5debaeeeb2d0332bb9acb69057cfd55 (diff) | |
download | samba-03ccc4ac13651b369a83d003ee4ee50225f74e32.tar.gz samba-03ccc4ac13651b369a83d003ee4ee50225f74e32.tar.bz2 samba-03ccc4ac13651b369a83d003ee4ee50225f74e32.zip |
Merge from Subversion:
Add example of a test that fails.
(This used to be commit 1b1bb8ac37464339a7bffc84eb6d96ee1ae7d33d)
-rwxr-xr-x | source3/stf/example.py | 7 |
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) |