Compare commits

..

6 commits

Author SHA1 Message Date
Fedora Release Engineering
c786b25078 Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild 2026-07-16 03:27:55 +00:00
Fedora Release Engineering
a9bdf7cccb Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild 2026-01-16 16:20:21 +00:00
Fedora Release Engineering
7c8bdae2a9 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-24 17:13:32 +00:00
Fedora Release Engineering
7e7adebd6c Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-17 06:18:32 +00:00
Parag Nemade
bf863c13c0
Add tmt CI testcase 2024-12-15 15:27:10 +05:30
Fedora Release Engineering
606aad4945 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-18 09:35:50 +00:00
6 changed files with 37 additions and 0 deletions

1
.fmf/version Normal file
View file

@ -0,0 +1 @@
1

5
plans/hunspell-it.fmf Normal file
View file

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

View file

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

View file

@ -0,0 +1,10 @@
#!/usr/bin/python3
import enchant
lang = "it_IT"
try:
dic = enchant.request_dict(lang)
print("Dictionary for {0} language is available for use".format(lang))
except enchant.errors.DictNotFoundError:
print("Dictionary is not installed for use")

View file

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

View file

@ -0,0 +1,9 @@
#!/usr/bin/python3
import enchant
wdlst = [ "ciao", "tè", "mattina"]
dic = enchant.Dict("it_IT")
for wd in wdlst:
dic.check(wd)
print("input word = {0}, Suggestions => {1}".format(wd, dic.suggest(wd)))