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

Function test_templated_environment_variable_there

tests/envcontext_test.py:68–73  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

66
67
68def test_templated_environment_variable_there():
69 _test(
70 before={'PATH': '/usr/local/bin:/usr/bin'},
71 patch=[('PATH', ('~/bin:', Var('PATH')))],
72 expected={'PATH': '~/bin:/usr/local/bin:/usr/bin'},
73 )
74
75
76def test_templated_environ_sources_from_previous():

Callers

nothing calls this directly

Calls 2

VarClass · 0.90
_testFunction · 0.85

Tested by

no test coverage detected