MCPcopy Index your code
hub / github.com/pre-commit/pre-commit / test_overrides

Function test_overrides

tests/envcontext_test.py:32–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

30
31
32def test_overrides():
33 _test(
34 before={'foo': 'baz'},
35 patch=[('foo', 'bar')],
36 expected={'foo': 'bar'},
37 )
38
39
40def test_unset_but_nothing_to_unset():

Callers

nothing calls this directly

Calls 1

_testFunction · 0.85

Tested by

no test coverage detected