2 # This is a dummy test suite that we can use to check that 'tahoe debug trial'
3 # is working properly. Since the module name does not start with 'test_', it
4 # will not be run by the main test suite.
6 from twisted.trial import unittest
7 from twisted.internet import defer
10 class Success(unittest.TestCase):
11 def test_succeed(self):
15 raise unittest.SkipTest('skip')
19 test_todo.todo = 'never mind'
22 class Failure(unittest.TestCase):
27 raise AssertionError('clang')
29 def test_deferred_error(self):
30 return defer.fail(AssertionError('screech'))