Try fixing missing auhor
Signed-off-by: Václav Valíček <valicek1994@gmail.com>
This commit is contained in:
parent
4662c7de47
commit
98f20a41dd
|
@ -154,7 +154,12 @@ def test_fetch_ok(tmp_path):
|
||||||
repo_a.joinpath(".gitignore").touch()
|
repo_a.joinpath(".gitignore").touch()
|
||||||
# commit it
|
# commit it
|
||||||
r.git.add(".gitignore")
|
r.git.add(".gitignore")
|
||||||
r.git.commit(message = "Test Commit", author = "Tester <test@a.b>")
|
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
|
hash = r.commit("master").hexsha
|
||||||
|
|
||||||
assert rt.fetch()
|
assert rt.fetch()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user