(self, args, kwargs, action='call')
| 868 | |
| 869 | |
| 870 | def _format_mock_failure_message(self, args, kwargs, action='call'): |
| 871 | message = 'expected %s not found.\nExpected: %s\n Actual: %s' |
| 872 | expected_string = self._format_mock_call_signature(args, kwargs) |
| 873 | call_args = self.call_args |
| 874 | actual_string = self._format_mock_call_signature(*call_args) |
| 875 | return message % (action, expected_string, actual_string) |
| 876 | |
| 877 | |
| 878 | def _get_call_signature_from_name(self, name): |
no test coverage detected