summaryrefslogtreecommitdiffstats
path: root/ipatests/test_xmlrpc/test_range_plugin.py
diff options
context:
space:
mode:
Diffstat (limited to 'ipatests/test_xmlrpc/test_range_plugin.py')
-rw-r--r--ipatests/test_xmlrpc/test_range_plugin.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/ipatests/test_xmlrpc/test_range_plugin.py b/ipatests/test_xmlrpc/test_range_plugin.py
index 143da96fd..29af35306 100644
--- a/ipatests/test_xmlrpc/test_range_plugin.py
+++ b/ipatests/test_xmlrpc/test_range_plugin.py
@@ -21,6 +21,8 @@
Test the `ipalib/plugins/idrange.py` module, and XML-RPC in general.
"""
+import six
+
from ipalib import api, errors
from ipatests.test_xmlrpc.xmlrpc_test import Declarative, fuzzy_uuid
from ipatests.test_xmlrpc import objectclasses
@@ -28,6 +30,9 @@ from ipatests.util import MockLDAP
from ipapython.dn import DN
from ipatests.test_xmlrpc.test_user_plugin import get_user_result
+if six.PY3:
+ unicode = str
+
# Determine the test shift used
id_shift = 0