Added gating.yaml and tests for python-netaddr

Signed-off-by: Sudhir Menon <sumenon@redhat.com>
This commit is contained in:
Sudhir Menon 2024-06-26 15:45:37 +05:30
parent 15cc140d62
commit 2206416eba
2 changed files with 25 additions and 0 deletions

7
gating.yaml Normal file
View File

@ -0,0 +1,7 @@
# recipients: abokovoy, frenaud, kaleem, ftrivino, fcami
--- !Policy
product_versions:
- rhel-10
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}

18
tests/tests.yml Normal file
View File

@ -0,0 +1,18 @@
---
- hosts: localhost
tags:
- classic
roles:
- role: standard-test-source
- role: standard-test-basic
required_packages:
- python3-netaddr
- python3-pytest
tests:
- clean:
dir: source
run: find -name '*.py' -and -not -path '*/tests/*' -delete
- unittests:
dir: source
run: pytest-3 netaddr/tests/