Port gating tests to standard-test-basic role

Related: rhbz#1947473
Signed-off-by: Christian Heimes <cheimes@redhat.com>
This commit is contained in:
Christian Heimes 2021-08-16 15:57:14 +02:00
parent 7311682ddf
commit 91a4b84f4e
3 changed files with 9 additions and 5 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
/tests/artifacts/
/python-yubico-1.3.2.tar.gz
/python-yubico-1.3.3.tar.gz

2
tests/test_ipa_yubikey.py Normal file → Executable file
View File

@ -1,4 +1,4 @@
#!/usr/libexec/platform-python
#!/usr/bin/python3
"""Simple test for APIs used by IPA's otptoken plugin
"""
import logging

View File

@ -3,8 +3,11 @@
tags:
- classic
roles:
- role: standard-test-scripts
- role: standard-test-source
- role: standard-test-basic
required_packages:
- python3-yubico
tests:
- sanity.sh
files:
- test_ipa_yubikey.py
- test_ipa_yubikey:
dir: "tests"
run: ./test_ipa_yubikey.py