Added test case for :: without trailing space

This commit is contained in:
stroeder 2015-09-30 17:41:46 +00:00
parent 4d09415f22
commit a4ed5141bb
1 changed files with 8 additions and 0 deletions

View File

@ -97,6 +97,14 @@ class TestParse(unittest.TestCase):
('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