summaryrefslogtreecommitdiff
path: root/git/test/test_git.py
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2014-11-19 12:16:54 +0100
committerSebastian Thiel <byronimo@gmail.com>2014-11-19 12:16:54 +0100
commit1234a1077f24ca0e2f1a9b4d27731482a7ed752b (patch)
tree755ccbe76bc225ef237264e1b45bcb17202087ec /git/test/test_git.py
parent4d9b7b09a7c66e19a608d76282eacc769e349150 (diff)
parent257264743154b975bc156f425217593be14727a9 (diff)
downloadgitpython-1234a1077f24ca0e2f1a9b4d27731482a7ed752b.tar.gz
Merge branch 'autopep' into 0.3
Resolves https://github.com/gitpython-developers/GitPython/pull/182
Diffstat (limited to 'git/test/test_git.py')
-rw-r--r--git/test/test_git.py21
1 files changed, 11 insertions, 10 deletions
diff --git a/git/test/test_git.py b/git/test/test_git.py
index 063a4d38..759d4d44 100644
--- a/git/test/test_git.py
+++ b/git/test/test_git.py
@@ -7,14 +7,14 @@
import os
import mock
from git.test.lib import (TestBase,
- patch,
- raises,
- assert_equal,
- assert_true,
- assert_match,
- fixture_path)
+ patch,
+ raises,
+ assert_equal,
+ assert_true,
+ assert_match,
+ fixture_path)
from git import (Git,
- GitCommandError)
+ GitCommandError)
class TestGit(TestBase):
@@ -104,17 +104,18 @@ class TestGit(TestBase):
assert isinstance(v, tuple)
for n in v:
assert isinstance(n, int)
- #END verify number types
+ # END verify number types
def test_cmd_override(self):
prev_cmd = self.git.GIT_PYTHON_GIT_EXECUTABLE
try:
# set it to something that doens't exist, assure it raises
- type(self.git).GIT_PYTHON_GIT_EXECUTABLE = os.path.join("some", "path", "which", "doesn't", "exist", "gitbinary")
+ type(self.git).GIT_PYTHON_GIT_EXECUTABLE = os.path.join(
+ "some", "path", "which", "doesn't", "exist", "gitbinary")
self.failUnlessRaises(OSError, self.git.version)
finally:
type(self.git).GIT_PYTHON_GIT_EXECUTABLE = prev_cmd
- #END undo adjustment
+ # END undo adjustment
def test_options_are_passed_to_git(self):
# This work because any command after git --version is ignored