diff options
-rw-r--r-- | .travis.yml | 4 | ||||
-rw-r--r-- | git/test/test_git.py | 2 |
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): |