Skip to content

Commit

Permalink
Added TestEntryRecords.test_multiple_empty_lines() but disabled the a…
Browse files Browse the repository at this point in the history
…ctual check for now
  • Loading branch information
stroeder committed Feb 9, 2016
1 parent c3daabf commit 1c15c41
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions Tests/t_ldif.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,25 @@ def test_maxentries(self):
'b2': [b'value_b2']}),
], maxentries=2)

def test_multiple_empty_lines(self):
"""
see http://sourceforge.net/p/python-ldap/feature-requests/18/
"""
return
self.check_roundtrip("""
# silly example
dn: uid=one,dc=tld
uid: one
# another silly example
dn: uid=two,dc=tld
uid: two
""", [
('uid=one,dc=tld', {'uid': [b'one']}),
('uid=two,dc=tld', {'uid': [b'two']}),
])


if __name__ == '__main__':
unittest.main()

0 comments on commit 1c15c41

Please sign in to comment.