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

davidmezzetti2548248778c2
diff --git a/test/python/testapi/testpipelines.py b/test/python/testapi/testpipelines.py
index 9e34eed4..e32f99a4 100644
--- a/test/python/testapi/testpipelines.py
+++ b/test/python/testapi/testpipelines.py
@@ -58,6 +58,7 @@ translation:
# pylint: disable=R0904
[email protected](os.name == "nt", "TestPipelines skipped on Windows")
class TestPipelines(unittest.TestCase):
"""
API tests for pipelines.
@@ -316,7 +317,6 @@ 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