def test_passedSpecifcation(self): registry = Registry.forTestCase(self, {}) self.assertEqual(registry._patches, [])
def test_forTestCase(self): self.assertEqual(len(Registry.forTestCase(self)._patches), 1)