summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test_GitRepository.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test_GitRepository.py b/tests/test_GitRepository.py
index b91be61..5a590ff 100644
--- a/tests/test_GitRepository.py
+++ b/tests/test_GitRepository.py
@@ -362,9 +362,13 @@ def test_get_commit_info():
'foo'
>>> '@' in info['author'].email
True
+ >>> '@' in info['committer'].email
+ True
>>> now = datetime.now()
>>> (now - datetime.fromtimestamp(int(info['author'].date.split()[0]))).seconds < 10
True
+ >>> (now - datetime.fromtimestamp(int(info['committer'].date.split()[0]))).seconds < 10
+ True
"""
def test_mirror_clone():