summaryrefslogtreecommitdiffstats
path: root/tests/util.py
diff options
context:
space:
mode:
authorJason Gerard DeRose <jderose@redhat.com>2010-01-10 17:47:15 -0700
committerRob Crittenden <rcritten@redhat.com>2010-01-22 14:41:49 -0500
commite9dc9de23afa987e59b1dcfc1a0e9c21b4c1f472 (patch)
tree3b5bdad3efcb45b94f394a97680bffc2f399f395 /tests/util.py
parentd6ca88f331a66799a18087b90af71f03b8706714 (diff)
downloadfreeipa-e9dc9de23afa987e59b1dcfc1a0e9c21b4c1f472.tar.gz
freeipa-e9dc9de23afa987e59b1dcfc1a0e9c21b4c1f472.tar.xz
freeipa-e9dc9de23afa987e59b1dcfc1a0e9c21b4c1f472.zip
Fixed xmlrpc_test.fuzzy_digits for Fedora12
Diffstat (limited to 'tests/util.py')
-rw-r--r--tests/util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/util.py b/tests/util.py
index ed8ecadf1..4d5fea670 100644
--- a/tests/util.py
+++ b/tests/util.py
@@ -210,7 +210,7 @@ class Fuzzy(object):
self.re = re.compile(regex)
if type is None:
type = unicode
- assert type in (unicode, str)
+ assert type in (unicode, str, basestring)
self.regex = regex
self.type = type
self.test = test