@@ -13,14 +13,14 @@ def test_method_missing_calls_execute(self, git):
1313self .git .version ()
1414assert_true (git .called )
1515# assert_equal(git.call_args, ((("%s version " % self.git_bin_base),), {}))
16-
16+
1717def test_it_transforms_kwargs_into_git_command_arguments (self ):
1818assert_equal (["-s" ],self .git .transform_kwargs (** {'s' :True }))
1919assert_equal (["-s5" ],self .git .transform_kwargs (** {'s' :5 }))
2020
2121assert_equal (["--max-count" ],self .git .transform_kwargs (** {'max_count' :True }))
2222assert_equal (["--max-count=5" ],self .git .transform_kwargs (** {'max_count' :5 }))
23-
23+
2424assert_equal (["-s" ,"-t" ],self .git .transform_kwargs (** {'s' :True ,'t' :True }))
2525
2626def test_it_executes_git_to_shell_and_returns_result (self ):
@@ -47,7 +47,7 @@ def test_it_returns_stderr_in_output(self):
4747
4848def 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 ,
5252self .git .this_does_not_exist (with_stderr = True ,
5353with_raw_output = True ))