Fix docs for assert_called and assert_called_once (#15197)

This commit is contained in:
Ismail S 2019-08-12 07:57:03 +01:00 committed by Chris Withers
parent f03b4c8a48
commit f9590edfea
1 changed files with 2 additions and 2 deletions

View File

@ -286,7 +286,7 @@ the *new_callable* argument to :func:`patch`.
used to set attributes on the mock after it is created. See the
:meth:`configure_mock` method for details.
.. method:: assert_called(*args, **kwargs)
.. method:: assert_called()
Assert that the mock was called at least once.
@ -297,7 +297,7 @@ the *new_callable* argument to :func:`patch`.
.. versionadded:: 3.6
.. method:: assert_called_once(*args, **kwargs)
.. method:: assert_called_once()
Assert that the mock was called exactly once.