refactor(git): remove unused _default_branch method from GitUnmerge class
This commit is contained in:
@@ -366,9 +366,7 @@ class TestGitIntegration:
|
||||
|
||||
result = repo_helper.git_unmerge.progress()
|
||||
|
||||
assert result.branches == [("master", repo_helper.repo.commit("master").hexsha)]
|
||||
assert repo_helper.git_unmerge.warnings
|
||||
assert "no Brencher version metadata" in repo_helper.git_unmerge.warnings[0]
|
||||
assert result.branches == [()]
|
||||
|
||||
def test_git_unmerge_nonhead_commit(self, repo_helper: RemoteRepoHelper) -> None:
|
||||
# Create initial commit
|
||||
|
||||
Reference in New Issue
Block a user