Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 5632506

Browse files
committedNov 16, 2024
test(cz_customize): use 'cz_customize' configurations in its tests
Signed-off-by: Adrian DC <radian.dc@gmail.com>
1 parent 7216c90 commit 5632506

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed
 

‎tests/test_cz_customize.py

+10-2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,14 @@
55
from commitizen.exceptions import MissingCzCustomizeConfigError
66

77
TOML_STR = r"""
8+
[tool.commitizen]
9+
name = "cz_customize"
10+
version = "1.0.0"
11+
version_files = [
12+
"commitizen/__version__.py",
13+
"pyproject.toml"
14+
]
15+
816
[tool.commitizen.customize]
917
message_template = "{{change_type}}:{% if show_message %} {{message}}{% endif %}"
1018
example = "feature: this feature enables customization through a config file"
@@ -42,7 +50,7 @@
4250
JSON_STR = r"""
4351
{
4452
"commitizen": {
45-
"name": "cz_jira",
53+
"name": "cz_customize",
4654
"version": "1.0.0",
4755
"version_files": [
4856
"commitizen/__version__.py",
@@ -99,7 +107,7 @@
99107

100108
YAML_STR = """
101109
commitizen:
102-
name: cz_jira
110+
name: cz_customize
103111
version: 1.0.0
104112
version_files:
105113
- commitizen/__version__.py

0 commit comments

Comments
 (0)
Please sign in to comment.