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

Function assert_called_once_with

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

Source from the content-addressed store, hash-verified

243 def assert_called_once(*args, **kwargs):
244 return mock.assert_called_once(*args, **kwargs)
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):

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…