python-pyasn1/tests/tests.yml
Florence Blanc-Renaud cc59cacd2c Fix gating tests
The tests hardcode the package version and must be updated
with pyasn1-0.6.1
     pyasn1-modules-0.4.1

Signed-off-by: Florence Blanc-Renaud <flo@redhat.com>
2024-12-04 11:40:03 +01:00

28 lines
572 B
YAML

---
- hosts: localhost
tags:
- classic
pre_tasks:
- import_role:
name: standard-test-source
vars:
flatten: false
roles:
- role: standard-test-basic
required_packages:
- python3-pyasn1
- python3-pyasn1-modules
- python3-pytest
tests:
- unittests-pyasn1:
dir: "source/pyasn1-0.6.1"
run: >-
rm -rf pyasn1* &&
pytest-3 tests/
- unittests-pyasn1-modules:
dir: "source/pyasn1-modules-0.4.1"
run: >-
rm -rf pyasn1_modules* &&
pytest-3 tests/