Update CI tests to use tmt tool
This commit is contained in:
parent
e22935ee96
commit
c8492512bb
1
.fmf/version
Normal file
1
.fmf/version
Normal file
@ -0,0 +1 @@
|
||||
1
|
5
plans/hunspell-hi.fmf
Normal file
5
plans/hunspell-hi.fmf
Normal file
@ -0,0 +1,5 @@
|
||||
summary: Basic smoke test
|
||||
discover:
|
||||
how: fmf
|
||||
execute:
|
||||
how: tmt
|
@ -1,4 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
python3 test_suggest_words.py
|
||||
python3 test_dic_availability.py
|
6
tests/test_dic_availability.fmf
Normal file
6
tests/test_dic_availability.fmf
Normal file
@ -0,0 +1,6 @@
|
||||
require:
|
||||
- python3-enchant
|
||||
- hunspell-hi
|
||||
test: python3 test_dic_availability.py
|
||||
framework: shell
|
||||
|
6
tests/test_suggest_words.fmf
Normal file
6
tests/test_suggest_words.fmf
Normal file
@ -0,0 +1,6 @@
|
||||
require:
|
||||
- python3-enchant
|
||||
- hunspell-hi
|
||||
test: python3 test_suggest_words.py
|
||||
framework: shell
|
||||
|
@ -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)))
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user