MCPcopy Index your code
hub / github.com/python/cpython / assert_has_calls

Function assert_has_calls

Lib/unittest/mock.py:247–248  ·  view source on GitHub ↗
(*args, **kwargs)

Source from the content-addressed store, hash-verified

245 def assert_called_once_with(*args, **kwargs):
246 return mock.assert_called_once_with(*args, **kwargs)
247 def assert_has_calls(*args, **kwargs):
248 return mock.assert_has_calls(*args, **kwargs)
249 def assert_any_call(*args, **kwargs):
250 return mock.assert_any_call(*args, **kwargs)
251 def reset_mock():

Callers

nothing calls this directly

Calls 1

assert_has_callsMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…