Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/tests/devbot/test_git.py
diff options
context:
space:
mode:
authorDaniel Narvaez <dnarvaez@dnarvaez>2012-11-30 17:09:34 (GMT)
committer Daniel Narvaez <dnarvaez@dnarvaez>2012-11-30 17:09:34 (GMT)
commit3359e001ff406a8fa98233347c3144584096a926 (patch)
tree752b5040b1f2a9b6a33dc1671ea392cd9ab3a888 /tests/devbot/test_git.py
parent1716fecb0cc123b607d549fb581a0e02908cba97 (diff)
Set user.name and use.email in unit tests
Diffstat (limited to 'tests/devbot/test_git.py')
-rw-r--r--tests/devbot/test_git.py3
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("")