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

Function test_schema_pattern

tests/test_cz_customize.py:629–631  ·  view source on GitHub ↗
(config)

Source from the content-addressed store, hash-verified

627
628
629def test_schema_pattern(config):
630 cz = CustomizeCommitsCz(config)
631 assert r"(feature|bug fix):(\s.*)" in cz.schema_pattern()
632
633
634def test_schema_pattern_unicode(config_with_unicode):

Callers

nothing calls this directly

Calls 2

schema_patternMethod · 0.95
CustomizeCommitsCzClass · 0.90

Tested by

no test coverage detected