Skip to content

Commit

Permalink
added: subprocess test for tagger
Browse files Browse the repository at this point in the history
  • Loading branch information
singh-lokendra committed Aug 12, 2019
1 parent 31963dc commit ac68d8b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/__init__.py
Expand Up @@ -125,6 +125,13 @@ def test_translate_en_es_subprocess(self):
test_translate.test_en_spa()
apertium.utils.wrappers_available = True

def test_tagger_en_subprocess(self):
apertium.utils.wrappers_available = False
test_tagger = TestTagger()
test_tagger.test_tagger_en()
test_tagger.test_tag_en()
apertium.utils.wrappers_available = True


class TestTranslate(unittest.TestCase):
@unittest.skipIf(platform.system() == 'Windows', 'lrx-proc -m bug #25')
Expand Down

0 comments on commit ac68d8b

Please sign in to comment.