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

Function assert_called

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

assert_calledMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…