File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -55,3 +55,9 @@ def test_it_does_not_strip_output_when_using_with_raw_output(self):
5555 def test_it_handles_large_input (self ):
5656 output = self .git .execute (["cat" , "/bin/bash" ])
5757 assert_true (len (output ) > 4096 ) # at least 4k
58+
59+ @patch (Git , 'execute' )
60+ def test_it_ignores_false_kwargs (self , git ):
61+ # this_should_not_be_ignored=False implies it *should* be ignored
62+ output = self .git .version (pass_this_kwarg = False )
63+ assert_true ("pass_this_kwarg" not in git .call_args [1 ])
Original file line number Diff line number Diff line change 33GIT_REPO = os .path .dirname (os .path .dirname (os .path .dirname (__file__ )))
44
55def fixture_path (name ):
6- test_dir = os .path .dirname ( os .path .dirname (__file__ ) )
6+ test_dir = os .path .dirname (os .path .dirname (__file__ ))
77 return os .path .join (test_dir , "fixtures" , name )
88
99def fixture (name ):
You can’t perform that action at this time.
0 commit comments