Re-enable doctest, fix broken docstrings

This commit is contained in:
Jason Gerard DeRose
2009-05-12 18:47:19 -06:00
committed by Rob Crittenden
parent 252e9b61eb
commit 87480b7bde
4 changed files with 18 additions and 23 deletions

View File

@@ -264,9 +264,9 @@ class textui(backend.Backend):
>>> entry = dict(sn='Last', givenname='First', uid='flast')
>>> ui = textui()
>>> ui.print_entry(entry)
givenname: 'First'
sn: 'Last'
uid: 'flast'
givenname: First
sn: Last
uid: flast
"""
assert type(entry) is dict
if entry.get('dn'):