From db828cdfef651dd25867382d9dc5ac4c4f7f1de3 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Sat, 3 Jan 2015 20:58:46 +0100 Subject: This should help getting travis to work, finally --- .travis.yml | 4 ++++ git/test/test_git.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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): -- cgit v1.2.1