MCPcopy Create free account
hub / github.com/commitizen-tools/commitizen / test_format_env

Function test_format_env

tests/test_bump_hooks.py:39–42  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

37
38
39def test_format_env():
40 result = hooks._format_env("TEST_", {"foo": "bar", "bar": "baz"})
41 assert result["TEST_FOO"] == "bar"
42 assert result["TEST_BAR"] == "baz"
43
44
45def test_run_integration():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected