Lines Matching refs:Stub
1244 def Stub(): function
1246 self.assertRaises(ExceptionMock, Stub)
1248 self.assertRaises((ValueError, ExceptionMock), Stub)
1259 self.assertRaises(ValueError, Stub)
1264 def Stub(): function
1267 Stub()
1270 Stub()
1291 self.assertRaises(ValueError, Stub)
1322 def Stub(): function
1325 self.assertRaisesRegex(ExceptionMock, re.compile('expect$'), Stub)
1326 self.assertRaisesRegex(ExceptionMock, 'expect$', Stub)
1375 def Stub(): function
1382 Stub)
1387 re.compile('^Expected$'), Stub)
1393 def Stub(foo): function
1399 Stub(v)