Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/commitizen-tools/commitizen
/ FakeTemplate
Class
FakeTemplate
tests/commands/test_changelog_command.py:1672–1673 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1670
):
1671
# Mock a template object with no filename
1672
class
FakeTemplate:
1673
filename = None
1674
1675
# Patch get_changelog_template to return a template without a filename
1676
mocker.patch(
Callers
1
test_export_changelog_template_fails_when_template_has_no_filename
Function · 0.85
Calls
no outgoing calls
Tested by
1
test_export_changelog_template_fails_when_template_has_no_filename
Function · 0.68