summaryrefslogtreecommitdiff
path: root/test/git/test_git.py
diff options
context:
space:
mode:
authorDavid Aguilar <davvid@gmail.com>2008-06-01 12:52:53 -0700
committerMichael Trier <mtrier@gmail.com>2008-06-01 22:02:31 -0400
commitbf2083922b7bccc31917bf9cdb74e3d4892c2600 (patch)
treebba087d69b6d317e1156652ed4a3804911920069 /test/git/test_git.py
parent277be842bf30848e7292a931169bd4c8ff726dee (diff)
downloadgitpython-bf2083922b7bccc31917bf9cdb74e3d4892c2600.tar.gz
style: remove spaces around parens per PEP8
Signed-off-by: David Aguilar <davvid@gmail.com>
Diffstat (limited to 'test/git/test_git.py')
-rw-r--r--test/git/test_git.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/git/test_git.py b/test/git/test_git.py
index 61b90a5f..e452e68b 100644
--- a/test/git/test_git.py
+++ b/test/git/test_git.py
@@ -55,3 +55,9 @@ class TestGit(object):
def test_it_handles_large_input(self):
output = self.git.execute(["cat", "/bin/bash"])
assert_true(len(output) > 4096) # at least 4k
+
+ @patch(Git, 'execute')
+ def test_it_ignores_false_kwargs(self, git):
+ # this_should_not_be_ignored=False implies it *should* be ignored
+ output = self.git.version(pass_this_kwarg=False)
+ assert_true("pass_this_kwarg" not in git.call_args[1])