Skip to content

Commit

Permalink
feat: add initial commit in test setup
Browse files Browse the repository at this point in the history
This change adds an initial commit to the test setup in the test_git_operations.py file, ensuring that the repository starts from a known state before performing further tests.
  • Loading branch information
versun committed Dec 23, 2024
1 parent 43e39cb commit 0ef897e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_git_operations.py
Original file line number Diff line number Diff line change
Expand Up @@ -408,6 +408,7 @@ def test_get_commit_changes(temp_git_repo):
pass # Empty file

git_ops.repo.index.add(["test1.txt", "test2.txt", "test3.bin", "test4.txt"])
git_ops.repo.index.commit("Initial commit")

# Make various changes
# 1. Modify test1.txt
Expand Down

0 comments on commit 0ef897e

Please sign in to comment.