Closed GoogleCodeExporter closed 9 years ago
This isn't working because you should be unsetting your stubs after each test.
If
you don't do this, you'll end up in a strange state, as you've discovered.
If you add:
def tearDown(self):
self.mocker.UnsetStubs()
to TestMoxStubOutWIthMocksBug TestCase, everything passes.
Original comment by smidd...@gmail.com
on 25 Sep 2008 at 8:50
Ah I see. Thanks for the info.
Original comment by tsui.t...@gmail.com
on 25 Sep 2008 at 9:37
Original issue reported on code.google.com by
tsui.t...@gmail.com
on 25 Sep 2008 at 7:26Attachments: