MCPcopy Index your code
hub / github.com/commitizen-tools/commitizen / test_version_scheme_from_name

Function test_version_scheme_from_name

tests/test_version_schemes.py:28–31  ·  view source on GitHub ↗
(config: BaseConfig)

Source from the content-addressed store, hash-verified

26
27
28def test_version_scheme_from_name(config: BaseConfig):
29 config.settings["version_scheme"] = "pep440"
30 scheme = get_version_scheme(config.settings, "semver")
31 assert scheme is SemVer
32
33
34def test_raise_for_unknown_version_scheme(config: BaseConfig):

Callers

nothing calls this directly

Calls 1

get_version_schemeFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…