summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2015-01-03 20:58:46 +0100
committerSebastian Thiel <byronimo@gmail.com>2015-01-03 20:58:46 +0100
commitdb828cdfef651dd25867382d9dc5ac4c4f7f1de3 (patch)
treec21bc49fd21d518029a4c48faa8827b6a5a4ee71
parentf2840c626d2eb712055ccb5dcbad25d040f17ce1 (diff)
downloadgitpython-db828cdfef651dd25867382d9dc5ac4c4f7f1de3.tar.gz
This should help getting travis to work, finally
-rw-r--r--.travis.yml4
-rw-r--r--git/test/test_git.py2
2 files changed, 5 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 7a21ad94..3b0f12e7 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -30,6 +30,10 @@ install:
# as commits are performed with the default user, it needs to be set for travis too
- git config --global user.email "travis@ci.com"
- git config --global user.name "Travis Runner"
+
+ # debugging
+ - tree .git/logs
+ - cat .git/logs/HEAD
script:
- nosetests -v --with-coverage
after_success:
diff --git a/git/test/test_git.py b/git/test/test_git.py
index 759d4d44..9c8bb490 100644
--- a/git/test/test_git.py
+++ b/git/test/test_git.py
@@ -125,7 +125,7 @@ class TestGit(TestBase):
def test_single_char_git_options_are_passed_to_git(self):
input_value = 'TestValue'
- output_value = self.git(c='user.name={}'.format(input_value)).config('--get', 'user.name')
+ output_value = self.git(c='user.name=%s' % input_value).config('--get', 'user.name')
self.assertEquals(input_value, output_value)
def test_change_to_transform_kwargs_does_not_break_command_options(self):