Skip to content

Commit

Permalink
test: fix git commit user/email
Browse files Browse the repository at this point in the history
  • Loading branch information
keithmanville committed Feb 21, 2025
1 parent 3e2d0a5 commit 13ecf68
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/unit/restapi/v1/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -764,7 +764,9 @@ def resources_repo() -> str:
with set_cwd(repo_dir):
subprocess.run([git, "init", "."])
subprocess.run([git, "add", "."])
subprocess.run([git, "commit", "-m."])
subprocess.run(
[git, "-c", "user.name=test", "-c", "user.email=test", "commit", "-m."]
)

yield str(repo_dir)

Expand Down

0 comments on commit 13ecf68

Please sign in to comment.