Allow tests to run with python3

This commit is contained in:
Gilles Dartiguelongue
2018-03-20 15:05:46 +01:00
parent fb1f64a9ee
commit 2223e8c765
+5 -1
View File
@@ -3,7 +3,11 @@
import env
from os import environ
from urlparse import urlparse as _urlparse
try:
from urlparse import urlparse as _urlparse
except ImportError:
from urllib.parse import urlparse as _urlparse
searchprefix = 'env1'
matchdata = {'env1TESTS1': 'aA', 'ENV1tests2': 'bB', 'env1tests3': 'cC'}