From a4ed5141bba0fc87b0d422cdeec837328d359e81 Mon Sep 17 00:00:00 2001 From: stroeder Date: Wed, 30 Sep 2015 17:41:46 +0000 Subject: [PATCH] Added test case for :: without trailing space --- Tests/t_ldif.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Tests/t_ldif.py b/Tests/t_ldif.py index d841dae..efd69ec 100644 --- a/Tests/t_ldif.py +++ b/Tests/t_ldif.py @@ -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