Skip to content

Commit ec03f2e

Browse files
author
yusin huang
committed
fix(test_changelog.py): modify the linter and test parameter
1 parent 21ebb79 commit ec03f2e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: tests/test_changelog.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import re
22
from dataclasses import dataclass
33
from pathlib import Path
4-
from unittest.mock import Mock
54
from typing import Any, Optional
5+
from unittest.mock import Mock
66

77
import pytest
88
from jinja2 import FileSystemLoader
@@ -1638,7 +1638,7 @@ def test_tags_rules_get_version_tags(capsys: pytest.CaptureFixture):
16381638

16391639
def test_changelog_file_name_from_args_and_config():
16401640
mock_config = Mock(spec=BaseConfig)
1641-
mock_config.path.parent = "/my/project/"
1641+
mock_config.path.parent = "/my/project"
16421642
mock_config.settings = {
16431643
"name": "cz_conventional_commits",
16441644
"changelog_file": "CHANGELOG.md",

0 commit comments

Comments
 (0)