Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ foo
Method
foo
Lib/test/test_unittest/testmock/testmock.py:2290–2290 ·
view source on GitHub ↗
(a, b)
Source
from the content-addressed store, hash-verified
2288
def
test_parent_propagation_with_create_autospec(self):
2289
2290
def
foo(a, b):
pass
2291
2292
mock = Mock()
2293
mock.child = create_autospec(foo)
Callers
15
test_repr
Method · 0.45
test_assert_called_with_failure_message
Method · 0.45
test_mock_calls
Method · 0.45
test_mock_call_not_equal_leaf
Method · 0.45
test_mock_call_not_equal_non_leaf
Method · 0.45
test_mock_call_not_equal_non_leaf_params_different
Method · 0.45
test_mock_call_not_equal_non_leaf_call_versus_attr
Method · 0.45
test_mock_call_repr
Method · 0.45
test_mock_call_repr_loop
Method · 0.45
test_arg_lists
Method · 0.45
test_assert_has_calls
Method · 0.45
test_assert_has_calls_nested_without_spec
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected