Lines Matching refs:result
130 result = test.run()
131 self.assertEqual(result.errors, [])
132 self.assertEqual(result.failures, [])
165 result = test.run()
167 self.assertIs(result.errors[0][0], test)
168 self.assertIn('MyException', result.errors[0][1])
201 result = test.run()
203 self.assertIs(result.errors[0][0], test)
204 self.assertIn('MyException', result.errors[0][1])
237 result = test.run()
239 self.assertIs(result.errors[0][0], test)
240 self.assertIn('MyException', result.errors[0][1])
278 result = test.run()
280 self.assertIs(result.errors[0][0], test)
281 self.assertIn('MyException: other error', result.errors[0][1])
282 self.assertIn('MyException: some error', result.errors[1][1])
454 result = test.run()
456 self.assertIn('MyException', result.errors[0][1])
484 result = test.run()
485 self.assertTrue(result.wasSuccessful())