mirror of https://github.com/python/cpython
5f5f11faf9
In the format string for assert_called the evaluation order is incorrect and hence for mock's without name, 'None' is printed whereas it should be 'mock' like for other messages. The error message is ("Expected '%s' to have been called." % self._mock_name or 'mock'). |
||
---|---|---|
.. | ||
testmock | ||
__init__.py | ||
__main__.py | ||
_test_warnings.py | ||
dummy.py | ||
support.py | ||
test_assertions.py | ||
test_async_case.py | ||
test_break.py | ||
test_case.py | ||
test_discovery.py | ||
test_functiontestcase.py | ||
test_loader.py | ||
test_program.py | ||
test_result.py | ||
test_runner.py | ||
test_setups.py | ||
test_skipping.py | ||
test_suite.py |