diff --git a/tests/lib/test_repo_tool.py b/tests/lib/test_repo_tool.py index 15baabe..27dfb67 100644 --- a/tests/lib/test_repo_tool.py +++ b/tests/lib/test_repo_tool.py @@ -154,7 +154,12 @@ def test_fetch_ok(tmp_path): repo_a.joinpath(".gitignore").touch() # commit it r.git.add(".gitignore") - r.git.commit(message = "Test Commit", author = "Tester ") + with r.config_writer("repository") as cw: + cw.add_section("user") + cw.add_value("user", "name", "Tester") + cw.add_value("user", "email", "test@a.b") + + r.git.commit(message = "Test Commit") hash = r.commit("master").hexsha assert rt.fetch()