diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2017-09-28 14:37:04 +0200 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2017-09-28 14:37:52 +0200 |
commit | f6cf7a7bd864fe1fb64d7bea0c231c6254f171e7 (patch) | |
tree | 258e48b98eda683796400ed4828d0adbead4fb7d /git/test/test_docs.py | |
parent | 3eb497ba1bbcaeb05a413a226fd78e54a29a3ff5 (diff) | |
download | gitpython-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.py | 4 |
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] |