From 29379c82fbce2a5ac8b76569f0dec5aeade94459 Mon Sep 17 00:00:00 2001 From: Parag Nemade Date: Wed, 11 Sep 2024 21:52:06 +0530 Subject: [PATCH] Remove STI tests --- tests/scripts/run_tests.sh | 4 ---- tests/scripts/test_dic_availability.py | 10 ---------- tests/scripts/test_suggest_words.py | 9 --------- tests/tests.yml | 11 ----------- 4 files changed, 34 deletions(-) delete mode 100644 tests/scripts/run_tests.sh delete mode 100644 tests/scripts/test_dic_availability.py delete mode 100644 tests/scripts/test_suggest_words.py delete mode 100644 tests/tests.yml 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/scripts/test_dic_availability.py b/tests/scripts/test_dic_availability.py deleted file mode 100644 index 4a44dff..0000000 --- a/tests/scripts/test_dic_availability.py +++ /dev/null @@ -1,10 +0,0 @@ -#!/usr/bin/python3 - -import enchant - -lang = "as_IN" -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") diff --git a/tests/scripts/test_suggest_words.py b/tests/scripts/test_suggest_words.py deleted file mode 100644 index 7438fa1..0000000 --- a/tests/scripts/test_suggest_words.py +++ /dev/null @@ -1,9 +0,0 @@ -#!/usr/bin/python3 - -import enchant - -wdlst = [ "হ্যাল", "ডিনা", "বাঙল", "অসময়"] -dic = enchant.Dict("as_IN") -for wd in wdlst: - dic.check(wd) - print("input word = {0}, Suggestions => {1}".format(wd, dic.suggest(wd))) 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