New submission from Thomas Guettler <guet...@thomas-guettler.de>:
The docs for `mock.call` could get improved: https://docs.python.org/3/library/unittest.mock.html#call Up to now it is not clear how to access individual members of the call. Example: I want to check if the call used the kwarg "foo" with the value of "bar". Usually you don't need this, since you check for the whole call (all args and all kwargs). But sometimes you jus twant to check for a single arg/kwarg. Then it would be nice to have more detailed docs for the class "call". BTW: Why has this class a lower-case name? Looks a bit strange. ---------- assignee: docs@python components: Documentation messages: 397874 nosy: docs@python, guettli priority: normal severity: normal status: open title: Docs for mock.call versions: Python 3.9 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue44684> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com