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

Function test_example

tests/test_cz_conventional_commits.py:157–161  ·  view source on GitHub ↗

just testing a string is returned. not the content

(config)

Source from the content-addressed store, hash-verified

155
156
157def test_example(config):
158 """just testing a string is returned. not the content"""
159 conventional_commits = ConventionalCommitsCz(config)
160 example = conventional_commits.example()
161 assert isinstance(example, str)
162
163
164def test_schema(config):

Callers

nothing calls this directly

Calls 2

exampleMethod · 0.95

Tested by

no test coverage detected