Fix gating definition for RHEL 9

* 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>
This commit is contained in:
Christian Heimes 2021-06-23 07:45:31 +02:00
parent 668211d9ed
commit 018486b98a
1 changed files with 3 additions and 3 deletions

View File

@ -11,8 +11,8 @@
pre_tasks:
- name: Enable rhel-buildroot-latest for openldap-servers on 1minutetip
ini_file:
path: /etc/yum.repos.d/rhel-latest.repo
section: rhel-buildroot-latest
path: /etc/yum.repos.d/rhel.repo
section: rhel-buildroot
option: enabled
value: "1"
create: no
@ -26,6 +26,6 @@
- openldap-clients
tests:
- unittests:
dir: "source/python3"
dir: "source"
run: >-
python3 -m unittest discover -s Tests -p 't_*.py' -v