summaryrefslogtreecommitdiff
path: root/dev-vcs/git-cola/files/git-cola-2.2.1-update-git-config-in-tests.patch
blob: 96271d05548c37cc22944ed30e62a87061391751 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/test/helper.py b/test/helper.py
index 006a5b1..64d0dfc 100644
--- a/test/helper.py
+++ b/test/helper.py
@@ -87,6 +87,8 @@ class GitRepositoryTestCase(TmpPathTestCase):
 
     def initialize_repo(self):
         self.git('init')
+        self.git('config', '--local', 'user.name', 'Your Name')
+        self.git('config', '--local', 'user.email', 'you@example.com')
         self.touch('A', 'B')
         self.git('add', 'A', 'B')