mirror of
https://github.com/oskar456/dzonegit.git
synced 2024-05-11 05:55:41 +00:00
@ -15,6 +15,8 @@ def git_dir(tmpdir_factory):
|
||||
d = tmpdir_factory.getbasetemp()
|
||||
d.chdir()
|
||||
subprocess.call(["git", "init"])
|
||||
subprocess.call(["git", "config", "user.name", "dzonegit pytest"])
|
||||
subprocess.call(["git", "config", "user.email", "nonexistent@example.com"])
|
||||
return d
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user