def setUp(self): self.svc = FakeServiceProvider()
class Fixture(unittest.TestCase): def setUp(self): self.svc = FakeServiceProvider() def tearDown(self): self.assertEqual(0, self.svc.get('requests')._countExpectations())