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

Function test_environment_dir

tests/lang_base_test.py:85–87  ·  view source on GitHub ↗
(tmp_path)

Source from the content-addressed store, hash-verified

83
84
85def test_environment_dir(tmp_path):
86 ret = lang_base.environment_dir(Prefix(tmp_path), 'langenv', 'default')
87 assert ret == f'{tmp_path}{os.sep}langenv-default'
88
89
90def test_assert_version_default():

Callers

nothing calls this directly

Calls 1

PrefixClass · 0.90

Tested by

no test coverage detected