Fix markup errors found by "make suspicious".

This commit is contained in:
Georg Brandl 2012-04-01 13:48:26 +02:00
parent 3f4a1b30e4
commit 24891672ce
2 changed files with 4 additions and 4 deletions

View File

@ -39,7 +39,7 @@ and attributes that allow you to make assertions about how it has been used.
Once the mock has been called its :attr:`~Mock.called` attribute is set to
`True`. More importantly we can use the :meth:`~Mock.assert_called_with` or
:meth`~Mock.assert_called_once_with` method to check that it was called with
:meth:`~Mock.assert_called_once_with` method to check that it was called with
the correct arguments.
This example tests that calling `ProductionClass().method` results in a call to

View File

@ -1712,9 +1712,9 @@ call
.. function:: call(*args, **kwargs)
`call` is a helper object for making simpler assertions, for comparing
with :attr:`~Mock.call_args`, :attr:`~Mock.call_args_list`,
:attr:`~Mock.mock_calls` and :attr: `~Mock.method_calls`. `call` can also be
`call` is a helper object for making simpler assertions, for comparing with
:attr:`~Mock.call_args`, :attr:`~Mock.call_args_list`,
:attr:`~Mock.mock_calls` and :attr:`~Mock.method_calls`. `call` can also be
used with :meth:`~Mock.assert_has_calls`.
>>> m = MagicMock(return_value=None)