Skip to content

Commit

Permalink
🐛 fix: remove trailing whitespace in test files
Browse files Browse the repository at this point in the history
🐛 fix: remove trailing whitespace in test files

🧪 Tests:
- Removed trailing whitespace in test_commits.py
- Removed trailing whitespace in test_files.py
- Removed trailing whitespace in test_operations.py

Cleaned up test files by removing trailing whitespace
  • Loading branch information
Test User committed Dec 9, 2024
1 parent d173820 commit 1078a1c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/test_git/test_commits.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,4 +93,4 @@ def test_create_commit_nothing_to_commit(mock_logger, mock_run, git_operations):
result = git_operations.create_commit(title="test", message="message")

assert result is False
mock_logger.info.assert_called_once_with("Nothing to commit")
mock_logger.info.assert_called_once_with("Nothing to commit")
2 changes: 1 addition & 1 deletion tests/test_git/test_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,4 +101,4 @@ def test_stage_files_with_info(mock_logger, mock_run, git_operations):
# Verify info was logged
mock_logger.info.assert_called_once_with(
"Git message while staging %s: %s", "file1.py", "Updating index"
)
)
2 changes: 1 addition & 1 deletion tests/test_git/test_operations.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,4 +83,4 @@ def test_get_staged_files_ignores_untracked(mock_run, git_operations):

assert len(files) == 1
assert files[0].path == "tracked.py"
assert files[0].status == "M"
assert files[0].status == "M"

0 comments on commit 1078a1c

Please sign in to comment.