diff --git a/.fmf/version b/.fmf/version new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/.fmf/version @@ -0,0 +1 @@ +1 diff --git a/plans/hunspell-ta.fmf b/plans/hunspell-ta.fmf new file mode 100644 index 0000000..6eef3b7 --- /dev/null +++ b/plans/hunspell-ta.fmf @@ -0,0 +1,4 @@ +discover: + how: fmf +execute: + how: tmt diff --git a/tests/scripts/run_tests.sh b/tests/scripts/run_tests.sh deleted file mode 100644 index 80d965a..0000000 --- a/tests/scripts/run_tests.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/bash - -python3 test_suggest_words.py -python3 test_dic_availability.py diff --git a/tests/test_dic_availability.fmf b/tests/test_dic_availability.fmf new file mode 100644 index 0000000..7ad4815 --- /dev/null +++ b/tests/test_dic_availability.fmf @@ -0,0 +1,6 @@ +require: +- python3-enchant +- hunspell-ta +test: python3 test_dic_availability.py +framework: shell + diff --git a/tests/scripts/test_dic_availability.py b/tests/test_dic_availability.py similarity index 100% rename from tests/scripts/test_dic_availability.py rename to tests/test_dic_availability.py diff --git a/tests/test_suggest_words.fmf b/tests/test_suggest_words.fmf new file mode 100644 index 0000000..57e2b84 --- /dev/null +++ b/tests/test_suggest_words.fmf @@ -0,0 +1,6 @@ +require: +- python3-enchant +- hunspell-ta +test: python3 test_suggest_words.py +framework: shell + diff --git a/tests/scripts/test_suggest_words.py b/tests/test_suggest_words.py similarity index 100% rename from tests/scripts/test_suggest_words.py rename to tests/test_suggest_words.py diff --git a/tests/tests.yml b/tests/tests.yml deleted file mode 100644 index 5ffb74a..0000000 --- a/tests/tests.yml +++ /dev/null @@ -1,11 +0,0 @@ -- hosts: localhost - roles: - - role: standard-test-basic - required_packages: - - python3-enchant - tags: - - classic - tests: - - sample: - dir: scripts/ - run: ./run_tests.sh