Lines Matching refs:assertRaisesRegexp
999 self.assertRaisesRegexp(ExceptionMock, re.compile('expect$'), Stub)
1000 self.assertRaisesRegexp(ExceptionMock, 'expect$', Stub)
1001 self.assertRaisesRegexp(ExceptionMock, u'expect$', Stub)
1004 self.assertRaisesRegexp(
1006 self.assertRaisesRegexp, Exception, re.compile('x'),
1008 self.assertRaisesRegexp(
1010 self.assertRaisesRegexp, Exception, 'x',
1012 self.assertRaisesRegexp(
1014 self.assertRaisesRegexp, Exception, u'x',
1021 self.assertRaisesRegexp(
1024 self.assertRaisesRegexp, Exception, '^Expected$',
1026 self.assertRaisesRegexp(
1029 self.assertRaisesRegexp, Exception, u'^Expected$',
1031 self.assertRaisesRegexp(
1034 self.assertRaisesRegexp, Exception,