We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0aa9362 commit db42a95Copy full SHA for db42a95
tests/commands/test_bump_command.py
@@ -348,11 +348,12 @@ def test_bump_when_version_inconsistent_in_version_files(
348
def test_bump_major_version_zero_when_major_is_not_zero(mocker, tmp_commitizen_project):
349
tmp_version_file = tmp_commitizen_project.join("__version__.py")
350
tmp_version_file.write("1.0.0")
351
+ tmp_version_file_string = str(tmp_version_file).replace("\\", "/")
352
tmp_commitizen_cfg_file = tmp_commitizen_project.join("pyproject.toml")
353
tmp_commitizen_cfg_file.write(
354
f"[tool.commitizen]\n"
355
'version="1.0.0"\n'
- f'version_files = ["{str(tmp_version_file)}"]'
356
+ f'version_files = ["{str(tmp_version_file_string)}"]'
357
)
358
tmp_changelog_file = tmp_commitizen_project.join("CHANGELOG.md")
359
tmp_changelog_file.write("## v1.0.0")
0 commit comments