summaryrefslogtreecommitdiffstats
path: root/ipatests/test_ipalib
diff options
context:
space:
mode:
authorPetr Viktorin <pviktori@redhat.com>2015-10-08 15:39:14 +0200
committerTomas Babej <tbabej@redhat.com>2015-10-27 17:23:25 +0100
commitea2edc9ea201c272ab69b248ae755e816d74b296 (patch)
tree4ca2bc6816db6368f6c4e27d9c1a6357673b9f71 /ipatests/test_ipalib
parentacf519f5c5e02578efe6e9c3e1816654e0f23e95 (diff)
downloadfreeipa-ea2edc9ea201c272ab69b248ae755e816d74b296.tar.gz
freeipa-ea2edc9ea201c272ab69b248ae755e816d74b296.tar.xz
freeipa-ea2edc9ea201c272ab69b248ae755e816d74b296.zip
test_parameters: Alias long to int under Python 3
In py3, the two types are unified under the name "int". Reviewed-By: Tomas Babej <tbabej@redhat.com>
Diffstat (limited to 'ipatests/test_ipalib')
-rw-r--r--ipatests/test_ipalib/test_parameters.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/ipatests/test_ipalib/test_parameters.py b/ipatests/test_ipalib/test_parameters.py
index fbbb0a27f..c1ebf900d 100644
--- a/ipatests/test_ipalib/test_parameters.py
+++ b/ipatests/test_ipalib/test_parameters.py
@@ -44,6 +44,7 @@ from ipalib import _
if six.PY3:
unicode = str
+ long = int
NULLS = (None, b'', u'', tuple(), [])