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

Function test_required_validator

tests/test_cz_utils.py:7–11  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5
6
7def test_required_validator():
8 assert utils.required_validator("test") == "test"
9
10 with pytest.raises(exceptions.AnswerRequiredError):
11 utils.required_validator("")
12
13
14def test_multiple_line_breaker():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected