Explorar el Código

Oh, right, that config

- CI services will likely have those blank and break merging.
Tommy Yu hace 10 años
padre
commit
4697ca5931
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4 0
      dulwich/tests/compat/server_utils.py

+ 4 - 0
dulwich/tests/compat/server_utils.py

@@ -266,6 +266,10 @@ class ServerTests(object):
         self.addCleanup(tear_down_repo, self._client_repo)
         port = self._start_server(self._source_repo)
 
+        run_git_or_fail(['config', 'user.email', 'user@example.com'],
+                        cwd=self._client_repo.path)
+        run_git_or_fail(['config', 'user.name', 'User Name'],
+                        cwd=self._client_repo.path)
         run_git_or_fail(['pull', self.url(port), 'master',],
                         cwd=self._client_repo.path)
         # the merge commit will be automatic so hashes are different,