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

Commit5e71c27

Browse files
committed
Fix the name of the "executes git" test
That test is not testing whether or not a shell is used (nor doesit need to test that), but just whether the library actually runsgit, passes an argument to it, and returns text from its stdout.
1 parentf9a3b83 commit5e71c27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎test/test_git.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def test_it_transforms_kwargs_into_git_command_arguments(self):
7373
res=self.git.transform_kwargs(**{"s":True,"t":True})
7474
self.assertEqual({"-s","-t"},set(res))
7575

76-
deftest_it_executes_git_to_shell_and_returns_result(self):
76+
deftest_it_executes_git_and_returns_result(self):
7777
self.assertRegex(self.git.execute(["git","version"]),r"^git version [\d\.]{2}.*$")
7878

7979
deftest_it_executes_git_not_from_cwd(self):

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp