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

Commitf6cf7a7

Browse files
committed
Fix test_docs
It's not portable to test for a secific author name
1 parent3eb497b commitf6cf7a7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎git/test/test_docs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -289,9 +289,9 @@ def test_references_and_objects(self, rw_dir):
289289
assertlen(headcommit.hexsha)==40
290290
assertlen(headcommit.parents)>0
291291
assertheadcommit.tree.type=='tree'
292-
assertheadcommit.author.name=='Sebastian Thiel'
292+
assertlen(headcommit.author.name)!=0
293293
assertisinstance(headcommit.authored_date,int)
294-
assertheadcommit.committer.name=='Sebastian Thiel'
294+
assertlen(headcommit.committer.name)!=0
295295
assertisinstance(headcommit.committed_date,int)
296296
assertheadcommit.message!=''
297297
# ![14-test_references_and_objects]

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp