Lines Matching refs:Stub
960 def Stub(): function
962 self.assertRaises(ExceptionMock, Stub)
964 self.assertRaises((ValueError, ExceptionMock), Stub)
972 self.assertRaises(ValueError, Stub)
977 def Stub(): function
980 Stub()
983 Stub()
996 self.assertRaises(ValueError, Stub)
1002 def Stub(): function
1005 self.assertRaisesRegexp(ExceptionMock, re.compile('expect$'), Stub)
1006 self.assertRaisesRegexp(ExceptionMock, 'expect$', Stub)
1007 self.assertRaisesRegexp(ExceptionMock, u'expect$', Stub)
1030 def Stub(): function
1037 Stub)
1042 Stub)
1047 re.compile('^Expected$'), Stub)
1053 def Stub(foo): function
1059 Stub(v)