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

Function test_version_increment_str

tests/test_version_increment.py:104–106  ·  view source on GitHub ↗

String conversion preserves the legacy enum names.

()

Source from the content-addressed store, hash-verified

102
103
104def test_version_increment_str() -> None:
105 """String conversion preserves the legacy enum names."""
106 assert str(VersionIncrement.PATCH) == "PATCH"
107
108
109def test_version_increment_comparison_order() -> None:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected