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

Function test_factory

tests/test_factory.py:25–29  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

23
24
25def test_factory():
26 config = BaseConfig()
27 config.settings.update({"name": defaults.DEFAULT_SETTINGS["name"]})
28 r = factory.committer_factory(config)
29 assert isinstance(r, BaseCommitizen)
30
31
32def test_factory_fails():

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…