From 77375c5cf3c1f47006322c7c693a3fda9ac383d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Herv=C3=A9?= Date: Mon, 30 Jun 2008 17:38:09 +0200 Subject: Use the version that passes the landscape tests. Add a test for one of the fix. --- test.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test.py') diff --git a/test.py b/test.py index 334407f..9ce5c01 100755 --- a/test.py +++ b/test.py @@ -3920,6 +3920,8 @@ class PatcherTest(TestCase): self.mocker.replay() self.assertEquals(self.C().method(), "mocked") self.assertRaises(AssertionError, self.C().method) + self.mocker.restore() + self.assertEquals(getattr(self.C, "__mocker_mock__", None), None) def test_recorder_instance_getattr(self): self.C.attr = "original" -- cgit v1.2.1