Skip to content

Commit

Permalink
Added test case for :: without trailing space
Browse files Browse the repository at this point in the history
  • Loading branch information
stroeder committed Sep 30, 2015
1 parent 4d09415 commit a4ed514
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Tests/t_ldif.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,14 @@ def test_binary(self):
('cn=x,cn=y,cn=z', {'attrib': [b'\t\0\n:%@']}),
])

def test_binary2(self):
self.check_roundtrip("""
dn: cn=x,cn=y,cn=z
attrib::CQAKOiVA
""", [
('cn=x,cn=y,cn=z', {'attrib': [b'\t\0\n:%@']}),
])

def test_unicode(self):
self.check_roundtrip("""
dn: cn=Michael Stroeder,dc=stroeder,dc=com
Expand Down

0 comments on commit a4ed514

Please sign in to comment.