diff --git a/tests/test_init.py b/tests/test_init.py index 249aaa9..933df8e 100644 --- a/tests/test_init.py +++ b/tests/test_init.py @@ -105,7 +105,6 @@ def test_setup_remote(): assert os.path.exists(os.path.join(remote_path, "dummy.txt")) repo = git.Repo(remote_path) - commit_history = repo.iter_commits() print(repo) print(repo.head) print(repo.heads) @@ -119,11 +118,13 @@ def test_setup_remote(): print(repo.untracked_files) print(repo.working_dir) print(repo.working_tree_dir) + commit_history = repo.iter_commits() for commit in commit_history: print(commit.message) assert "first commit" in commit.message assert False + def test_setup_remote_with_backup(): with tempfile.TemporaryDirectory() as temp_dir: