mirror of
https://github.com/samba-team/samba.git
synced 2025-03-30 06:50:24 +03:00
Merge from Subversion:
Add example of a test that fails. (This used to be commit 1b1bb8ac37464339a7bffc84eb6d96ee1ae7d33d)
This commit is contained in:
parent
0ac3eeaff5
commit
03ccc4ac13
@ -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…
x
Reference in New Issue
Block a user