Use tmt format testing specification

This commit is contained in:
mulhern 2023-04-25 10:56:29 -04:00
parent 82ad675b18
commit 2d9947b9d3
4 changed files with 19 additions and 15 deletions

1
.fmf/version Normal file
View File

@ -0,0 +1 @@
1

14
plans/unit.fmf Normal file
View File

@ -0,0 +1,14 @@
summary: unit tests
prepare:
- name: Install package
how: install
package: python-dbus-python-client-gen
discover:
how: shell
url: https://github.com/stratis-storage/dbus-python-client-gen
ref: v0.8.2
execute:
script: make test

View File

@ -2,7 +2,7 @@
Name: python-%{srcname}
Version: 0.8.2
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Python Library for Generating dbus-python Client Code
License: MPL-2.0
@ -42,6 +42,9 @@ Python 3 version.
%{python3_sitelib}/dbus_python_client_gen-*.egg-info/
%changelog
* Tue Apr 25 2023 mulhern <amulhern@redhat.com> - 0.8.2-2
- Use tmt format testing specification
* Thu Feb 23 2023 Bryan Gurney <bgurney@redhat.com> - 0.8.2-1
- Update to 0.8.2

View File

@ -1,14 +0,0 @@
---
- hosts: localhost
roles:
- role: standard-test-source
tags:
- always
- role: standard-test-basic
tags:
- classic
tests:
- simple:
dir: ./
run: python -m unittest discover -v source/tests