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:
parent
5ac3783712
commit
9082720fc4
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue