Skip to content

Commit

Permalink
refactor: apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Sugat Bajracharya <[email protected]>
  • Loading branch information
aj3sh and sugat009 authored Mar 29, 2024
1 parent fdcd125 commit 3d74fe5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions pytest.ini
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
[pytest]
pythonpath = src
python_files = test_*.py
addopts = -vvv
2 changes: 1 addition & 1 deletion tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def test__main__valid_commit_message_using_quick(
*_,
):
main()
mock_stdout_write.assert_called_with(f"{VALIDATION_SUCCESSFUL}\n")
mock_stdout_write.assert_called_once_with(f"{VALIDATION_SUCCESSFUL}\n")

@patch(
"commitlint.cli.get_args",
Expand Down

0 comments on commit 3d74fe5

Please sign in to comment.