summaryrefslogtreecommitdiff
path: root/pbr/tests/test_packaging.py
diff options
context:
space:
mode:
Diffstat (limited to 'pbr/tests/test_packaging.py')
-rw-r--r--pbr/tests/test_packaging.py10
1 files changed, 1 insertions, 9 deletions
diff --git a/pbr/tests/test_packaging.py b/pbr/tests/test_packaging.py
index 3b19516..741934e 100644
--- a/pbr/tests/test_packaging.py
+++ b/pbr/tests/test_packaging.py
@@ -67,15 +67,7 @@ class TestRepo(fixtures.Fixture):
def setUp(self):
super(TestRepo, self).setUp()
base._run_cmd(['git', 'init', '.'], self._basedir)
- 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)
+ base._config_git()
base._run_cmd(['git', 'add', '.'], self._basedir)
def commit(self, message_content='test commit'):