From bf2083922b7bccc31917bf9cdb74e3d4892c2600 Mon Sep 17 00:00:00 2001 From: David Aguilar Date: Sun, 1 Jun 2008 12:52:53 -0700 Subject: style: remove spaces around parens per PEP8 Signed-off-by: David Aguilar --- test/git/test_git.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'test/git/test_git.py') 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]) -- cgit v1.2.1 From 57a561cda141a0fed3129f4f3488e3b91805e638 Mon Sep 17 00:00:00 2001 From: David Aguilar Date: Sun, 1 Jun 2008 23:04:57 -0700 Subject: tests: removed an obsolete comment in test_it_ignores_false_kwargs Signed-off-by: David Aguilar --- test/git/test_git.py | 1 - 1 file changed, 1 deletion(-) (limited to 'test/git/test_git.py') diff --git a/test/git/test_git.py b/test/git/test_git.py index e452e68b..82644b6d 100644 --- a/test/git/test_git.py +++ b/test/git/test_git.py @@ -58,6 +58,5 @@ class TestGit(object): @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]) -- cgit v1.2.1