Blame roles/ipaserver/files/py3test.py
|
Packit |
8cb997 |
#!/usr/bin/python3
|
|
Packit |
8cb997 |
|
|
Packit |
8cb997 |
# Test ipaerver python3 binding
|
|
Packit |
8cb997 |
from ipaserver.install.server.install import install_check
|
|
Packit |
8cb997 |
|
|
Packit |
8cb997 |
# Check ipapython version to be >= 4.6
|
|
Packit |
8cb997 |
from ipapython.version import NUM_VERSION, VERSION
|
|
Packit |
8cb997 |
if NUM_VERSION < 40590:
|
|
Packit |
8cb997 |
raise Exception("ipa %s not usable with python3" % VERSION)
|