(self)
| 1316 | |
| 1317 | |
| 1318 | def test_mock_call_repr(self): |
| 1319 | m = Mock() |
| 1320 | m.foo().bar().baz.bob() |
| 1321 | self.assertEqual(repr(m.mock_calls[0]), 'call.foo()') |
| 1322 | self.assertEqual(repr(m.mock_calls[1]), 'call.foo().bar()') |
| 1323 | self.assertEqual(repr(m.mock_calls[2]), 'call.foo().bar().baz.bob()') |
| 1324 | |
| 1325 | |
| 1326 | def test_mock_call_repr_loop(self): |
nothing calls this directly
no test coverage detected