diff options
Diffstat (limited to 'mox_test.py')
-rwxr-xr-x | mox_test.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mox_test.py b/mox_test.py index 52b5905..5519a7f 100755 --- a/mox_test.py +++ b/mox_test.py @@ -533,6 +533,10 @@ class MockAnythingTest(unittest.TestCase): self.mock_object._Verify() + def testIsReprable(self): + """Test that MockAnythings can be repr'd without causing a failure.""" + self.failUnless('MockAnything' in repr(self.mock_object)) + class MethodCheckerTest(unittest.TestCase): """Tests MockMethod's use of MethodChecker method.""" |