Update CI tests to use tmt tool

This commit is contained in:
Parag Nemade 2024-07-23 19:24:13 +05:30
parent e22935ee96
commit c8492512bb
No known key found for this signature in database
GPG Key ID: 71932951EB71E972
8 changed files with 18 additions and 20 deletions

1
.fmf/version Normal file
View File

@ -0,0 +1 @@
1

5
plans/hunspell-hi.fmf Normal file
View File

@ -0,0 +1,5 @@
summary: Basic smoke test
discover:
how: fmf
execute:
how: tmt

View File

@ -1,4 +0,0 @@
#!/bin/bash
python3 test_suggest_words.py
python3 test_dic_availability.py

View File

@ -0,0 +1,6 @@
require:
- python3-enchant
- hunspell-hi
test: python3 test_dic_availability.py
framework: shell

View File

@ -0,0 +1,6 @@
require:
- python3-enchant
- hunspell-hi
test: python3 test_suggest_words.py
framework: shell

View File

@ -7,5 +7,3 @@ dic = enchant.Dict("hi_IN")
for wd in wdlst:
dic.check(wd)
print("input word = {0}, Suggestions => {1}".format(wd, dic.suggest(wd)))

View File

@ -1,14 +0,0 @@
- hosts: localhost
roles:
- role: standard-test-basic
required_packages:
- python3-enchant
tags:
- classic
tests:
- sample:
dir: scripts/
run: ./run_tests.sh