aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2017-11-06 19:22:03 +0100
committerGuido Günther <agx@sigxcpu.org>2017-11-06 19:27:52 +0100
commit031910888f8d1d407a7c4b8e838cf596c336327b (patch)
tree24db8db0f3423bee71fd7a2203d3bbbe4c0bddba /tests
parent2343b5cb84dffb596955ea5d113d59be6054f508 (diff)
GitModifier: add get()
Diffstat (limited to 'tests')
-rw-r--r--tests/doctests/test_GitModifier.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/doctests/test_GitModifier.py b/tests/doctests/test_GitModifier.py
index ba940ac5..4ac3c7fc 100644
--- a/tests/doctests/test_GitModifier.py
+++ b/tests/doctests/test_GitModifier.py
@@ -81,4 +81,7 @@ def test_dict():
['date', 'email', 'name']
>>> sorted(modifier.items())
[('date', '1 +0000'), ('email', 'bar'), ('name', 'foo')]
+ >>> modifier.get('name')
+ 'foo'
+ >>> modifier.get('doesnotexist')
"""