Skip to content

armgit / txtai

Public Imported from GitHub
0

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

Skip unit test on Windows

davidmezzettifad9301dee44
diff --git a/test/python/testapi/testpipelines.py b/test/python/testapi/testpipelines.py
index a60c1983..9e34eed4 100644
--- a/test/python/testapi/testpipelines.py
+++ b/test/python/testapi/testpipelines.py
@@ -316,6 +316,7 @@ class TestPipelines(unittest.TestCase):
translation = self.client.get(f"translate?text={urllib.parse.quote('This is a test translation into Spanish')}&target=es").json()
self.assertEqual(translation, "Esta es una traducción de prueba al español")
+ @unittest.skipIf(os.name == "nt", "testTranslateBatch skipped on Windows")
def testTranslateBatch(self):
"""
Test batch translate via API