Added test case for :: without trailing space
This commit is contained in:
parent
4d09415f22
commit
a4ed5141bb
|
@ -97,6 +97,14 @@ class TestParse(unittest.TestCase):
|
||||||
('cn=x,cn=y,cn=z', {'attrib': [b'\t\0\n:%@']}),
|
('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):
|
def test_unicode(self):
|
||||||
self.check_roundtrip("""
|
self.check_roundtrip("""
|
||||||
dn: cn=Michael Stroeder,dc=stroeder,dc=com
|
dn: cn=Michael Stroeder,dc=stroeder,dc=com
|
||||||
|
|
Loading…
Reference in New Issue