Skip to content

Commit 207e336

Browse files
test(git): give the annotated tag test a committer identity
git tag -m needs user.name and user.email, which CI does not set.
1 parent 75ca8aa commit 207e336

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎src/git/tests/test_server.py‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,9 @@ def test_git_show(test_repository):
271271
assert "show_test.txt" in result
272272

273273
def test_git_create_branch_from_annotated_tag(test_repository):
274+
with test_repository.config_writer() as config:
275+
config.set_value("user", "name", "Test User")
276+
config.set_value("user", "email", "[email protected]")
274277
test_repository.create_tag("v1", message="release v1")
275278

276279
git_create_branch(test_repository, "from-tag", "v1")

0 commit comments

Comments
 (0)