Fix docs for assert_called and assert_called_once (GH-15219)

(cherry picked from commit f9590edfea)

Co-authored-by: Ismail S <ismail-s@users.noreply.github.com>
This commit is contained in:
Miss Islington (bot) 2019-08-12 01:19:47 -07:00 committed by Chris Withers
parent 5ba1cb0393
commit 2f087e279b
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.