commit 64568b78b02276550268c36a3b3998dca7e054f2 Author: vaydheesh Date: Mon Aug 12 22:11:25 2019 +0530 fix: code coverage diff --git a/tests/__init__.py b/tests/__init__.py index 508b1cb..f49937e 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -105,6 +105,7 @@ class TestSubProcess(unittest.TestCase): test_analyze = TestAnalyze() test_analyze.test_analyzer_en() test_analyze.test_analyze_en() + apertium.utils.wrappers_available = True def test_generate_en_subprocess(self): apertium.utils.wrappers_available = False @@ -115,12 +116,14 @@ class TestSubProcess(unittest.TestCase): test_generate.test_single() test_generate.test_multiple() test_generate.test_bare() + apertium.utils.wrappers_available = True def test_translate_en_es_subprocess(self): apertium.utils.wrappers_available = False test_translate = TestTranslate() test_translate.test_translator_en_spa() test_translate.test_en_spa() + apertium.utils.wrappers_available = True class TestTranslate(unittest.TestCase):