summaryrefslogtreecommitdiff
path: root/git/test/test_docs.py
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2017-09-28 14:37:04 +0200
committerSebastian Thiel <byronimo@gmail.com>2017-09-28 14:37:52 +0200
commitf6cf7a7bd864fe1fb64d7bea0c231c6254f171e7 (patch)
tree258e48b98eda683796400ed4828d0adbead4fb7d /git/test/test_docs.py
parent3eb497ba1bbcaeb05a413a226fd78e54a29a3ff5 (diff)
downloadgitpython-f6cf7a7bd864fe1fb64d7bea0c231c6254f171e7.tar.gz
Fix test_docs
It's not portable to test for a secific author name
Diffstat (limited to 'git/test/test_docs.py')
-rw-r--r--git/test/test_docs.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/git/test/test_docs.py b/git/test/test_docs.py
index cbbd9447..1ba3f482 100644
--- a/git/test/test_docs.py
+++ b/git/test/test_docs.py
@@ -289,9 +289,9 @@ class Tutorials(TestBase):
assert len(headcommit.hexsha) == 40
assert len(headcommit.parents) > 0
assert headcommit.tree.type == 'tree'
- assert headcommit.author.name == 'Sebastian Thiel'
+ assert len(headcommit.author.name) != 0
assert isinstance(headcommit.authored_date, int)
- assert headcommit.committer.name == 'Sebastian Thiel'
+ assert len(headcommit.committer.name) != 0
assert isinstance(headcommit.committed_date, int)
assert headcommit.message != ''
# ![14-test_references_and_objects]