Port gating tests to standard-test-basic role
Related: rhbz#1947473 Signed-off-by: Christian Heimes <cheimes@redhat.com>
This commit is contained in:
parent
767fafb4cb
commit
65b90b257b
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,4 @@
|
||||
/tests/artifacts/
|
||||
pyusb-0.4.1.tar.gz
|
||||
/pyusb-1.0.0-a1.tar.gz
|
||||
/pyusb-1.0.0a2.tar.gz
|
||||
|
@ -1,8 +0,0 @@
|
||||
#!/bin/sh
|
||||
set -ex
|
||||
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
||||
|
||||
dnf install -y pyusb
|
||||
|
||||
exec ${DIR}/test_ipa_yubico_api.py
|
2
tests/test_ipa_yubico_api.py
Normal file → Executable file
2
tests/test_ipa_yubico_api.py
Normal file → Executable file
@ -1,4 +1,4 @@
|
||||
#!/usr/libexec/platform-python
|
||||
#!/usr/bin/python3
|
||||
"""Simple test for APIs used by python-yubico
|
||||
"""
|
||||
import logging
|
||||
|
@ -3,8 +3,11 @@
|
||||
tags:
|
||||
- classic
|
||||
roles:
|
||||
- role: standard-test-scripts
|
||||
- role: standard-test-source
|
||||
- role: standard-test-basic
|
||||
required_packages:
|
||||
- python3-pyusb
|
||||
tests:
|
||||
- sanity.sh
|
||||
files:
|
||||
- test_ipa_yubico_api.py
|
||||
- test_ipa_yubico_api:
|
||||
dir: "tests"
|
||||
run: ./test_ipa_yubico_api.py
|
||||
|
Loading…
Reference in New Issue
Block a user