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

Function assert_called_with

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

Source from the content-addressed store, hash-verified

235 funcopy.mock = mock
236
237 def assert_called_with(*args, **kwargs):
238 return mock.assert_called_with(*args, **kwargs)
239 def assert_called(*args, **kwargs):
240 return mock.assert_called(*args, **kwargs)
241 def assert_not_called(*args, **kwargs):

Callers

nothing calls this directly

Calls 1

assert_called_withMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…