Add a simple gating test

Run the test suite (well, script) of python-augeas for the as-installed
python3-augeas.
This commit is contained in:
Pino Toscano 2020-04-02 12:04:06 +02:00
parent 0b2a885f8b
commit 78b38ea9b2
2 changed files with 19 additions and 0 deletions

View File

@ -52,6 +52,7 @@ pytest-3
- Backport upstream commit d93e1563add8c40450556b7d74520439ee792bd9 to fix
the discovery of location in the test
- Execute the tests at build time
- Add a simple gating test to execute the test script
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-19
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild

18
tests/tests.yml Normal file
View File

@ -0,0 +1,18 @@
---
- hosts: localhost
roles:
- role: standard-test-source
tags:
- always
- role: standard-test-basic
tags:
- atomic
- classic
- container
required_packages:
- python3-augeas
- python3-pytest
tests:
- test_augeas:
dir: .
run: pytest-3 source/test/test_augeas.py