Skip to content

Commit f6cf7a7

Browse files
committed
Fix test_docs
It's not portable to test for a secific author name
1 parent 3eb497b commit f6cf7a7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: git/test/test_docs.py

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

0 commit comments

Comments
 (0)