Add user.name to git config in tests

Apparently git wants the user.name set as well as user.email, so add
that to the fixture class.

Closes-Bug: #1296200
Change-Id: I6ce2d7e3ca6f0e6cf2d8de962027e8f9b9dcc9b7
This commit is contained in:
Doug Hellmann 2014-09-17 17:05:13 -04:00
parent 5ac3783712
commit 9082720fc4
1 changed files with 3 additions and 0 deletions

View File

@ -68,6 +68,9 @@ class TestRepo(fixtures.Fixture):
base._run_cmd(
['git', 'config', '--global', 'user.email', 'example@example.com'],
self._basedir)
base._run_cmd(
['git', 'config', '--global', 'user.name', 'OpenStack Developer'],
self._basedir)
base._run_cmd(
['git', 'config', '--global', 'user.signingkey',
'example@example.com'], self._basedir)