Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitdafe71a

Browse files
committed
didn't work for git 1.5.3 ;)
1 parent8f043f0 commitdafe71a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎test/git/test_git.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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
deftest_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
deftest_it_executes_git_to_shell_and_returns_result(self):
@@ -47,7 +47,7 @@ def test_it_returns_stderr_in_output(self):
4747

4848
deftest_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))

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp