File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -13,14 +13,14 @@ def test_method_missing_calls_execute(self, git):
1313 self .git .version ()
1414 assert_true (git .called )
1515 # assert_equal(git.call_args, ((("%s version " % self.git_bin_base),), {}))
16-
16+
1717 def test_it_transforms_kwargs_into_git_command_arguments (self ):
1818 assert_equal (["-s" ], self .git .transform_kwargs (** {'s' : True }))
1919 assert_equal (["-s5" ], self .git .transform_kwargs (** {'s' : 5 }))
2020
2121 assert_equal (["--max-count" ], self .git .transform_kwargs (** {'max_count' : True }))
2222 assert_equal (["--max-count=5" ], self .git .transform_kwargs (** {'max_count' : 5 }))
23-
23+
2424 assert_equal (["-s" , "-t" ], self .git .transform_kwargs (** {'s' : True , 't' : True }))
2525
2626 def test_it_executes_git_to_shell_and_returns_result (self ):
@@ -47,7 +47,7 @@ def test_it_returns_stderr_in_output(self):
4747
4848 def test_it_does_not_strip_output_when_using_with_raw_output (self ):
4949 # Note: trailing newline
50- assert_match (r"^git: 'this-does-not-exist' is not a git-command\. See 'git --help'\."
51- + os .linesep ,
50+ assert_match (r"^git: 'this-does-not-exist' is not a git-command" \
51+ r"(\. See 'git --help'\.)?" + os .linesep ,
5252 self .git .this_does_not_exist (with_stderr = True ,
5353 with_raw_output = True ))
You can’t perform that action at this time.
0 commit comments