Skip to content

armgit / txtai

Public Imported from GitHub
0

💡 All-in-one AI framework for semantic search, LLM orchestration and language model workflows

Revert skipped unit tests

davidmezzetti66da38b1509f
diff --git a/test/python/testpipeline/testtrainer.py b/test/python/testpipeline/testtrainer.py
index 17b77e75..b5afdc54 100644
--- a/test/python/testpipeline/testtrainer.py
+++ b/test/python/testpipeline/testtrainer.py
@@ -267,7 +267,6 @@ class TestTrainer(unittest.TestCase):
self.assertTrue(os.path.exists(os.path.join(output, "generator")))
self.assertTrue(os.path.exists(os.path.join(output, "discriminator")))
- @unittest.skipIf(os.name == "nt", "testSeqSeq skipped on Windows")
def testSeqSeq(self):
"""
Test training a sequence-sequence model
diff --git a/test/python/testpipeline/testtranscription.py b/test/python/testpipeline/testtranscription.py
index 11c38d1a..28584af6 100644
--- a/test/python/testpipeline/testtranscription.py
+++ b/test/python/testpipeline/testtranscription.py
@@ -2,7 +2,6 @@
Transcription module tests
"""
-import os
import unittest
import numpy as np
@@ -16,7 +15,6 @@ from txtai.pipeline import Transcription
from utils import Utils
[email protected](os.name == "nt", "Transcription tests skipped on Windows")
class TestTranscription(unittest.TestCase):
"""
Transcription tests.
diff --git a/test/python/testpipeline/testtranslation.py b/test/python/testpipeline/testtranslation.py
index 31de5a9b..28641a0d 100644
--- a/test/python/testpipeline/testtranslation.py
+++ b/test/python/testpipeline/testtranslation.py
@@ -8,7 +8,6 @@ import unittest
from txtai.pipeline import Translation
[email protected](os.name == "nt", "Translation tests skipped on Windows")
class TestTranslation(unittest.TestCase):
"""
Translation tests.
@@ -53,6 +52,7 @@ class TestTranslation(unittest.TestCase):
# Validate translation text
self.assertIsNotNone(translation)
+ @unittest.skipIf(os.name == "nt", "Transcription tests skipped on Windows")
def testM2M100Translation(self):
"""
Test a translation using M2M100 models