mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
Merge from Subversion:
Add example of a test that fails.
This commit is contained in:
parent
54f4df0301
commit
1b1bb8ac37
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user