Skip to content

Commit 3d74fe5

Browse files
aj3shsugat009
andauthored
refactor: apply suggestions from code review
Co-authored-by: Sugat Bajracharya <[email protected]>
1 parent fdcd125 commit 3d74fe5

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Diff for: pytest.ini

+2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
[pytest]
22
pythonpath = src
3+
python_files = test_*.py
4+
addopts = -vvv

Diff for: tests/test_cli.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ def test__main__valid_commit_message_using_quick(
116116
*_,
117117
):
118118
main()
119-
mock_stdout_write.assert_called_with(f"{VALIDATION_SUCCESSFUL}\n")
119+
mock_stdout_write.assert_called_once_with(f"{VALIDATION_SUCCESSFUL}\n")
120120

121121
@patch(
122122
"commitlint.cli.get_args",

0 commit comments

Comments
 (0)