Skip to content
Snippets Groups Projects
Commit ccdd43f0 authored by Thomas Woerner's avatar Thomas Woerner
Browse files

Extended python3 test to do an additional client test

The additional client test is needed to make sure that the client is
installed for python3 usage. The ipalib test has not been sufficient.
parent 6998dc78
Branches
Tags
No related merge requests found
#!/usr/bin/python3
# Test ipaclient python3 binding
from ipaclient.install.client import SECURE_PATH
# Check ipapython version to be >= 4.6
from ipapython.version import NUM_VERSION, VERSION
if NUM_VERSION < 40600:
raise Exception("ipa %s not usable with python3" % VERSION)
- block:
- name: Verify Python3 import
command: python3 -c "from ipapython.version import NUM_VERSION"
script: py3test.py
register: py3test
failed_when: False
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment