018486b98a
* RHEL 9 does not have a "python3" sub directory any more * 1MT uses a different repo file name Related: rhbz#1947473 Signed-off-by: Christian Heimes <cheimes@redhat.com>
32 lines
739 B
YAML
32 lines
739 B
YAML
---
|
|
# Run python-ldap's unit test suite as gating tests.
|
|
#
|
|
# Note: Requires openldap-server from RHEL build root.
|
|
#
|
|
# 1minutetip --buildroot rhel9
|
|
|
|
- hosts: localhost
|
|
tags:
|
|
- classic
|
|
pre_tasks:
|
|
- name: Enable rhel-buildroot-latest for openldap-servers on 1minutetip
|
|
ini_file:
|
|
path: /etc/yum.repos.d/rhel.repo
|
|
section: rhel-buildroot
|
|
option: enabled
|
|
value: "1"
|
|
create: no
|
|
ignore_errors: yes
|
|
roles:
|
|
- role: standard-test-source
|
|
- role: standard-test-basic
|
|
required_packages:
|
|
- python3-ldap
|
|
- openldap-servers
|
|
- openldap-clients
|
|
tests:
|
|
- unittests:
|
|
dir: "source"
|
|
run: >-
|
|
python3 -m unittest discover -s Tests -p 't_*.py' -v
|