diff --git a/Tests/search.py b/Tests/search.py index 2c63009..429a5d6 100644 --- a/Tests/search.py +++ b/Tests/search.py @@ -1,3 +1,5 @@ +from __future__ import unicode_literals + import sys,pprint,ldap from ldap.ldapobject import LDAPObject diff --git a/Tests/slapd.py b/Tests/slapd.py index 5b21716..9610771 100644 --- a/Tests/slapd.py +++ b/Tests/slapd.py @@ -4,6 +4,8 @@ Utilities for starting up a test slapd server and talking to it with ldapsearch/ldapadd. """ +from __future__ import unicode_literals + import sys, os, socket, time, subprocess, logging _log = logging.getLogger("slapd") diff --git a/Tests/t_cext.py b/Tests/t_cext.py index 0ae87f7..b63f89a 100644 --- a/Tests/t_cext.py +++ b/Tests/t_cext.py @@ -1,3 +1,5 @@ +from __future__ import unicode_literals + import unittest, slapd import _ldap diff --git a/Tests/t_ldapurl.py b/Tests/t_ldapurl.py index 596e741..9ba3298 100644 --- a/Tests/t_ldapurl.py +++ b/Tests/t_ldapurl.py @@ -1,5 +1,7 @@ # -*- coding: utf-8 -*- +from __future__ import unicode_literals + import ldap, unittest from ldap.compat import quote diff --git a/Tests/t_search.py b/Tests/t_search.py index e938cab..8b602aa 100644 --- a/Tests/t_search.py +++ b/Tests/t_search.py @@ -1,3 +1,5 @@ +from __future__ import unicode_literals + import ldap, unittest import slapd