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

Function test_factory_fails

tests/test_factory.py:32–39  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

30
31
32def test_factory_fails():
33 config = BaseConfig()
34 config.settings.update({"name": "Nothing"})
35 with pytest.raises(
36 NoCommitizenFoundException,
37 match=re.escape("The committer has not been found in the system."),
38 ):
39 factory.committer_factory(config)
40
41
42def test_discover_plugins(tmp_path):

Callers

nothing calls this directly

Calls 2

BaseConfigClass · 0.90
updateMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…