Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/commitizen-tools/commitizen
/ functions
Functions
1,032 in github.com/commitizen-tools/commitizen
⨍
Functions
1,032
◇
Types & classes
134
↳
Endpoints
30
Function
test_discover_plugins
(tmp_path)
tests/test_factory.py:70
Function
test_duplicates_are_change_with_no_regex
( random_location_version_file, file_regression )
tests/test_bump_update_version_in_files.py:146
Function
test_empty_commit_list
(mocker: MockFixture, util: UtilFixture)
tests/commands/test_changelog_command.py:1164
Method
test_empty_input_returns_default
(self, mocker: MockFixture, config: BaseConfig)
tests/commands/test_init_command.py:411
Method
test_empty_lines_list
Test behavior with empty lines list.
tests/test_incremental_build.py:232
Method
test_empty_new_content
Test behavior with empty new content.
tests/test_incremental_build.py:379
Method
test_empty_pre_commit_config
( self, default_choice: str, tmp_path, monkeypatch, config: BaseConfig )
tests/commands/test_init_command.py:189
Method
test_empty_stdout_and_stderr
(self)
tests/test_cmd.py:127
Method
test_env_merged_with_os_environ
(self, monkeypatch)
tests/test_cmd.py:119
Method
test_env_merged_with_os_environ
(self, monkeypatch)
tests/test_cmd.py:170
Method
test_env_merged_with_os_environ
(self, monkeypatch)
tests/test_cmd.py:211
Method
test_env_passed_to_subprocess
(self)
tests/test_cmd.py:111
Method
test_env_passed_to_subprocess
(self)
tests/test_cmd.py:159
Method
test_env_passed_to_subprocess
(self)
tests/test_cmd.py:204
Function
test_example
(config)
tests/test_cz_jira.py:24
Function
test_example
(config)
tests/test_cz_customize.py:608
Function
test_example
just testing a string is returned. not the content
tests/test_cz_conventional_commits.py:157
Function
test_example_unicode
(config_with_unicode)
tests/test_cz_customize.py:616
Function
test_export_changelog_template_fails_when_template_has_no_filename
( mocker: MockFixture, changelog_jinja_file: Path, util: UtilFixture, )
tests/commands/test_changelog_command.py:1666
Function
test_export_changelog_template_from_default
( any_changelog_format: ChangelogFormat, util: UtilFixture, changelog_jinja_file: Path, repo_r
tests/commands/test_changelog_command.py:1634
Function
test_export_changelog_template_from_plugin
( changelog_jinja_file: Path, mock_plugin: BaseCommitizen, changelog_format: ChangelogFormat,
tests/commands/test_changelog_command.py:1648
Function
test_factory
()
tests/test_factory.py:25
Function
test_factory_fails
()
tests/test_factory.py:60
Method
test_fails_when_installer_disappears_between_prompt_and_install
( self, mocker: MockFixture, config: BaseConfig, tmp_path, monkeypatch )
tests/commands/test_init_command.py:361
Function
test_file_provider_get_encoding
_get_encoding should return the configured encoding.
tests/providers/test_base_provider.py:38
Function
test_file_provider_writes_git_core_eol
File providers write the line ending set by `git config core.eol`. `version_files` and the changelog already follow `core.eol`. Without this,
tests/providers/test_base_provider.py:181
Function
test_file_version_inconsistent_error
( commitizen_config_file, inconsistent_python_version_file, version_repeated_file )
tests/test_bump_update_version_in_files.py:193
Function
test_find_git_project_root
(tmp_path, monkeypatch)
tests/test_conf.py:180
Function
test_find_tag_for_full_version_remains_exact
()
tests/test_tags.py:27
Function
test_find_tag_for_partial_version_ignores_invalid_tags
()
tests/test_tags.py:91
Function
test_find_tag_for_partial_version_respects_tag_format
()
tests/test_tags.py:58
Function
test_find_tag_for_partial_version_returns_latest_match
()
tests/test_tags.py:11
Function
test_find_tag_for_partial_version_returns_none_when_no_match
()
tests/test_tags.py:78
Function
test_find_tag_for_partial_version_with_prereleases_prefers_latest_version
()
tests/test_tags.py:42
Function
test_format_env
()
tests/test_bump_hooks.py:39
Function
test_from_message_stops_after_major_match
A major match on one line shields later invalid lines in that message.
tests/test_version_increment.py:234
Function
test_from_message_uses_highest_matching_line
A multiline commit message keeps the highest line-level increment.
tests/test_version_increment.py:196
Function
test_from_str_with_decimal
Test from_str with decimal values.
tests/test_exceptions.py:6
Function
test_from_str_with_enum_name
Test from_str with enum names.
tests/test_exceptions.py:13
Function
test_from_str_with_invalid_values
Test from_str with invalid values.
tests/test_exceptions.py:29
Function
test_from_str_with_whitespace
Test from_str with whitespace in enum names.
tests/test_exceptions.py:23
Function
test_generate_ordered_changelog_tree
(change_type_order, expected_reordering)
tests/test_changelog.py:1213
Function
test_generate_ordered_changelog_tree_raises
()
tests/test_changelog.py:1229
Function
test_generate_tree_from_commits
(gitcommits, tags, merge_prereleases)
tests/test_changelog.py:1156
Function
test_generate_tree_from_commits_with_no_commits
(tags)
tests/test_changelog.py:1186
Function
test_get_backup_file_path_no_project_root
(mocker: MockFixture)
tests/test_cz_utils.py:23
Function
test_get_commit_tag_is_None
(gitcommits, tags)
tests/test_changelog.py:591
Function
test_get_commit_tag_is_a_version
(gitcommits, tags)
tests/test_changelog.py:585
Function
test_get_commits
(util: UtilFixture)
tests/test_git.py:118
Function
test_get_commits_author_and_email
(util: UtilFixture)
tests/test_git.py:126
Function
test_get_commits_with_and_without_parents
(util: UtilFixture)
tests/test_git.py:203
Function
test_get_commits_with_signature
(gitconfig: GitConfig)
tests/test_git.py:253
Function
test_get_commits_without_breakline_in_each_commit
(util: UtilFixture)
tests/test_git.py:163
Function
test_get_commits_without_email
(util: UtilFixture)
tests/test_git.py:134
Function
test_get_core_editor
(monkeypatch: pytest.MonkeyPatch, util: UtilFixture)
tests/test_git.py:326
Function
test_get_default_branch_error
(util: UtilFixture)
tests/test_git.py:513
Function
test_get_default_branch_success
(util: UtilFixture)
tests/test_git.py:508
Function
test_get_default_config_filename
(chdir, files, expected)
tests/test_project_info.py:89
Function
test_get_default_version_provider
(chdir, files, expected)
tests/test_project_info.py:77
Function
test_get_default_version_scheme
(chdir, files, expected)
tests/test_project_info.py:103
Function
test_get_eol_for_open
()
tests/test_git.py:313
Function
test_get_filenames_in_commit
Test get_filenames_in_commit returns filenames from the last commit.
tests/test_git.py:386
Function
test_get_filenames_in_commit_error
Test that GitCommandError is raised when git command fails.
tests/test_git.py:413
Function
test_get_filenames_in_commit_with_git_reference
Test get_filenames_in_commit with a specific git reference (commit SHA).
tests/test_git.py:398
Function
test_get_format
(config: BaseConfig, name: str, expected: type[ChangelogFormat])
tests/test_changelog_formats.py:39
Function
test_get_format_empty_filename
(config: BaseConfig, filename: str | None)
tests/test_changelog_formats.py:45
Function
test_get_format_empty_filename_no_setting
(config: BaseConfig, filename: str | None)
tests/test_changelog_formats.py:54
Function
test_get_format_unknown
(config: BaseConfig, filename: str | None)
tests/test_changelog_formats.py:61
Function
test_get_highest_by_messages_compiles_pattern_once
Scanning many messages reuses one compiled bump pattern.
tests/test_version_increment.py:256
Function
test_get_highest_by_messages_for_conventional_commits
Conventional-commit bump detection matches the existing behavior.
tests/test_version_increment.py:148
Function
test_get_highest_by_messages_for_semantic_tokens
Custom bump maps continue to work with the shared extraction helpers.
tests/test_version_increment.py:170
Function
test_get_highest_by_messages_raises_for_invalid_bump_map_value
A matched custom bump-map value must fail instead of becoming NONE.
tests/test_version_increment.py:246
Function
test_get_highest_by_messages_rejects_string_none_mapping
The string NONE remains invalid at the bump-map computation boundary.
tests/test_version_increment.py:224
Function
test_get_highest_by_messages_returns_none_for_empty_input
Empty inputs preserve the existing no-increment behavior explicitly.
tests/test_version_increment.py:184
Function
test_get_highest_by_messages_supports_custom_none_mapping
A matched custom rule can still explicitly opt out of bumping.
tests/test_version_increment.py:212
Function
test_get_latest_full_release_no_file
(format: AsciiDoc)
tests/test_changelog_format_asciidoc.py:176
Function
test_get_latest_tag_name
(util: UtilFixture)
tests/test_git.py:273
Function
test_get_log_as_str_list_empty
Ensure an exception is raised or empty list in an empty project. The behavior is different depending on the version of git.
tests/test_git.py:105
Function
test_get_metadata
( tmp_path: Path, format: Textile, content: str, expected: Metadata )
tests/test_changelog_format_textile.py:160
Function
test_get_metadata
( tmp_path: Path, format: AsciiDoc, content: str, expected: Metadata )
tests/test_changelog_format_asciidoc.py:167
Function
test_get_metadata
( tmp_path: Path, format: Markdown, content: str, expected: Metadata )
tests/test_changelog_format_markdown.py:167
Function
test_get_metadata
( tmp_path: Path, format: RestructuredText, content: str, expected: Metadata )
tests/test_changelog_format_restructuredtext.py:320
Function
test_get_metadata_custom_tag_format
( tmp_path: Path, format_with_tags: Textile, tag_string: str, expected: Metadata )
tests/test_changelog_format_textile.py:192
Function
test_get_metadata_custom_tag_format
( tmp_path: Path, format_with_tags: AsciiDoc, tag_string: str, expected: Metadata )
tests/test_changelog_format_asciidoc.py:203
Function
test_get_metadata_custom_tag_format
( tmp_path: Path, format_with_tags: Markdown, tag_string: str, expected: Metadata )
tests/test_changelog_format_markdown.py:204
Function
test_get_metadata_custom_tag_format
( tmp_path: Path, format_with_tags: RestructuredText, tag_string: str, expected: Metadata, )
tests/test_changelog_format_restructuredtext.py:374
Function
test_get_next_tag_name_after_version
(tags)
tests/test_changelog.py:1533
Function
test_get_reachable_tags
(util: UtilFixture)
tests/test_git.py:56
Function
test_get_reachable_tags_with_commits
(locale: str, monkeypatch: pytest.MonkeyPatch)
tests/test_git.py:80
Function
test_get_smart_tag_range_returns_an_extra_for_a_range
(tags)
tests/test_changelog.py:1518
Function
test_get_smart_tag_range_returns_an_extra_for_a_single_tag
(tags)
tests/test_changelog.py:1527
Function
test_get_tag_names
(util: UtilFixture)
tests/test_git.py:87
Function
test_get_tag_names_has_correct_arrow_annotation
()
tests/test_git.py:266
Function
test_get_tags
(util: UtilFixture)
tests/test_git.py:37
Function
test_getattr_deprecated_vars
(deprecated_var_getter, replacement)
tests/test_deprecated.py:25
Function
test_getattr_non_existent
()
tests/test_deprecated.py:32
Function
test_git_commit_from_rev_and_commit
(linebreak)
tests/test_git.py:423
Function
test_git_message_with_empty_body
()
tests/test_git.py:97
Function
test_git_object_eq
()
tests/test_git.py:27
Function
test_git_tag_date
(date: str)
tests/test_git.py:21
← previous
next →
701–800 of 1,032, ranked by callers