MCPcopy Index your code
hub / github.com/RustPython/RustPython / assert_called_once

Function assert_called_once

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

Source from the content-addressed store, hash-verified

240 def assert_not_called(*args, **kwargs):
241 return mock.assert_not_called(*args, **kwargs)
242 def assert_called_once(*args, **kwargs):
243 return mock.assert_called_once(*args, **kwargs)
244 def assert_called_once_with(*args, **kwargs):
245 return mock.assert_called_once_with(*args, **kwargs)
246 def assert_has_calls(*args, **kwargs):

Callers

nothing calls this directly

Calls 1

assert_called_onceMethod · 0.80

Tested by

no test coverage detected