Lines Matching refs:unittest
1 import unittest
3 from unittest.test.support import LoggingResult
6 class Test_TestSkipping(unittest.TestCase):
9 class Foo(unittest.TestCase):
20 class Foo(unittest.TestCase):
33 class Foo(unittest.TestCase):
49 self.assertIsInstance(subtest, unittest.TestCase)
53 self.assertIsInstance(subtest, unittest.TestCase)
58 op_table = ((unittest.skipUnless, False, True),
59 (unittest.skipIf, True, False))
61 class Foo(unittest.TestCase):
69 suite = unittest.TestSuite([test_do_skip, test_dont_skip])
82 @unittest.skip("testing")
83 class Foo(unittest.TestCase):
87 result = unittest.TestResult()
89 suite = unittest.TestSuite([test])
95 @unittest.skip("testing")
99 class Foo(Mixin, unittest.TestCase):
102 result = unittest.TestResult()
104 suite = unittest.TestSuite([test])
110 class Foo(unittest.TestCase):
111 @unittest.expectedFailure
124 @unittest.expectedFailure
125 class Foo(unittest.TestCase):
139 class Foo(unittest.TestCase):
143 @unittest.expectedFailure
159 class Foo(unittest.TestCase):
160 @unittest.expectedFailure
182 class Foo(unittest.TestCase):
183 @unittest.expectedFailure
199 class Foo(unittest.TestCase):
200 @unittest.expectedFailure
221 class Foo(unittest.TestCase):
228 @unittest.skip('testing')
232 result = unittest.TestResult()
234 suite = unittest.TestSuite([test])
246 class Foo(unittest.TestCase):
248 @unittest.skip('testing')
252 result = unittest.TestResult()
254 suite = unittest.TestSuite([test])
260 unittest.main()