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

Function test_factory_fails

tests/test_factory.py:60–67  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

58
59
60def test_factory_fails():
61 config = BaseConfig()
62 config.settings.update({"name": "Nothing"})
63 with pytest.raises(
64 NoCommitizenFoundException,
65 match=re.escape("The committer has not been found in the system."),
66 ):
67 factory.committer_factory(config)
68
69
70def test_discover_plugins(tmp_path):

Callers

nothing calls this directly

Calls 2

BaseConfigClass · 0.90
updateMethod · 0.80

Tested by

no test coverage detected