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

Function prompt_mock_feat

tests/commands/test_commit_command.py:33–44  ·  view source on GitHub ↗
(mocker: MockFixture)

Source from the content-addressed store, hash-verified

31
32@pytest.fixture
33def prompt_mock_feat(mocker: MockFixture):
34 return mocker.patch(
35 "questionary.prompt",
36 return_value={
37 "prefix": "feat",
38 "subject": "user created",
39 "scope": "",
40 "is_breaking_change": False,
41 "body": "closes #21",
42 "footer": "",
43 },
44 )
45
46
47@pytest.fixture

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected