Lines Matching refs:FakeRunner
32 class FakeRunner(object): class
37 runner = FakeRunner()
110 class FakeRunner(object): class
116 FakeRunner.initArgs = kwargs
117 if FakeRunner.raiseError:
118 FakeRunner.raiseError = False
122 FakeRunner.test = test
130 FakeRunner.initArgs = None
131 FakeRunner.test = None
132 FakeRunner.raiseError = False
189 program.testRunner = FakeRunner
196 self.assertEqual(FakeRunner.initArgs, {'verbosity': 'verbosity',
199 self.assertEqual(FakeRunner.test, 'test')
205 program.testRunner = FakeRunner()
206 FakeRunner.initArgs = None
211 self.assertIsNone(FakeRunner.initArgs)
213 self.assertEqual(FakeRunner.test, 'test')
219 FakeRunner.raiseError = True
220 program.testRunner = FakeRunner
230 self.assertEqual(FakeRunner.initArgs, {})
231 self.assertEqual(FakeRunner.test, 'test')
249 program.testRunner = FakeRunner