From 1078a1c20516a4d784f9f1c3dce823e4cefe6dcb Mon Sep 17 00:00:00 2001 From: Test User <test@example.com> Date: Mon, 9 Dec 2024 16:39:38 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix:=20remove=20trailing=20white?= =?UTF-8?q?space=20in=20test=20files?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ๐ 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 --- tests/test_git/test_commits.py | 2 +- tests/test_git/test_files.py | 2 +- tests/test_git/test_operations.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_git/test_commits.py b/tests/test_git/test_commits.py index 12b6f91..b6e92e0 100644 --- a/tests/test_git/test_commits.py +++ b/tests/test_git/test_commits.py @@ -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") \ No newline at end of file + mock_logger.info.assert_called_once_with("Nothing to commit") diff --git a/tests/test_git/test_files.py b/tests/test_git/test_files.py index 9e9e5c8..bedac5a 100644 --- a/tests/test_git/test_files.py +++ b/tests/test_git/test_files.py @@ -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" - ) \ No newline at end of file + ) diff --git a/tests/test_git/test_operations.py b/tests/test_git/test_operations.py index 0e8d723..33a5f70 100644 --- a/tests/test_git/test_operations.py +++ b/tests/test_git/test_operations.py @@ -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" \ No newline at end of file + assert files[0].status == "M"