[TST] Use unicode in tests.

This commit is contained in:
Raphaël Barrois
2013-11-14 01:29:37 +01:00
committed by Christian Heimes
parent 06c3a59102
commit 6e55ec8991
5 changed files with 10 additions and 0 deletions

View File

@@ -1,3 +1,5 @@
from __future__ import unicode_literals
import sys,pprint,ldap
from ldap.ldapobject import LDAPObject

View File

@@ -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")

View File

@@ -1,3 +1,5 @@
from __future__ import unicode_literals
import unittest, slapd
import _ldap

View File

@@ -1,5 +1,7 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
import ldap, unittest
from ldap.compat import quote

View File

@@ -1,3 +1,5 @@
from __future__ import unicode_literals
import ldap, unittest
import slapd