diff options
author | Daniel Narvaez <dnarvaez@dnarvaez> | 2012-11-30 17:09:34 (GMT) |
---|---|---|
committer | Daniel Narvaez <dnarvaez@dnarvaez> | 2012-11-30 17:09:34 (GMT) |
commit | 3359e001ff406a8fa98233347c3144584096a926 (patch) | |
tree | 752b5040b1f2a9b6a33dc1671ea392cd9ab3a888 /tests | |
parent | 1716fecb0cc123b607d549fb581a0e02908cba97 (diff) |
Set user.name and use.email in unit tests
Diffstat (limited to 'tests')
-rw-r--r-- | tests/devbot/test_git.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/devbot/test_git.py b/tests/devbot/test_git.py index e78626a..48456bc 100644 --- a/tests/devbot/test_git.py +++ b/tests/devbot/test_git.py @@ -12,6 +12,9 @@ class TestGit(unittest.TestCase): subprocess.check_call(["git", "init"]) + subprocess.check_call(["git", "config", "user.name", "Test Test"]) + subprocess.check_call(["git", "config", "user.email", "test@test.org"]) + with open("README", "w") as f: f.write("") |