Skip to content

armgit / txtai

Public Imported from GitHub
0

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

Update build script #805

davidmezzetti1d5323516ec6
diff --git a/test/python/testapi/testcluster.py b/test/python/testapi/testcluster.py
index 2b5a488b..4b0f0076 100644
--- a/test/python/testapi/testcluster.py
+++ b/test/python/testapi/testcluster.py
@@ -91,7 +91,6 @@ class RequestHandler(BaseHTTPRequestHandler):
self.wfile.flush()
[email protected](os.name == "nt", "TestCluster skipped on Windows")
class TestCluster(unittest.TestCase):
"""
API tests for embeddings clusters
diff --git a/test/python/testapi/testpipelines.py b/test/python/testapi/testpipelines.py
index 5025e248..444e2593 100644
--- a/test/python/testapi/testpipelines.py
+++ b/test/python/testapi/testpipelines.py
@@ -68,7 +68,6 @@ translation:
# pylint: disable=R0904
[email protected](os.name == "nt", "TestPipelines skipped on Windows")
class TestPipelines(unittest.TestCase):
"""
API tests for pipelines.
diff --git a/test/python/testdatabase/testduckdb.py b/test/python/testdatabase/testduckdb.py
index 7aa17a70..19f234b1 100644
--- a/test/python/testdatabase/testduckdb.py
+++ b/test/python/testdatabase/testduckdb.py
@@ -2,9 +2,6 @@
DuckDB module tests
"""
-import os
-import unittest
-
from txtai.embeddings import Embeddings
from .testrdbms import Common
@@ -45,11 +42,3 @@ class TestDuckDB(Common.TestRDBMS):
if cls.embeddings:
cls.embeddings.close()
-
- @unittest.skipIf(os.name == "nt", "testArchive skipped on Windows")
- def testArchive(self):
- """
- Test embeddings index archiving
- """
-
- super().testArchive()
diff --git a/test/python/testpipeline/testtext/testtranslation.py b/test/python/testpipeline/testtext/testtranslation.py
index f270e2bd..2980abf2 100644
--- a/test/python/testpipeline/testtext/testtranslation.py
+++ b/test/python/testpipeline/testtext/testtranslation.py
@@ -2,7 +2,6 @@
Translation module tests
"""
-import os
import unittest
from txtai.pipeline import Translation
@@ -52,7 +51,6 @@ class TestTranslation(unittest.TestCase):
# Validate translation text
self.assertIsNotNone(translation)
- @unittest.skipIf(os.name == "nt", "M2M100 skipped on Windows")
def testM2M100Translation(self):
"""
Test a translation using M2M100 models
diff --git a/test/python/testpipeline/testtrain/testonnx.py b/test/python/testpipeline/testtrain/testonnx.py
index 3658d64a..42697234 100644
--- a/test/python/testpipeline/testtrain/testonnx.py
+++ b/test/python/testpipeline/testtrain/testonnx.py
@@ -145,7 +145,6 @@ class TestOnnx(unittest.TestCase):
labels = Labels((model, tokenizer), dynamic=False)
self.assertEqual(labels("cat")[0][0], 1)
- @unittest.skipIf(os.name == "nt", "testZeroShot skipped on Windows")
def testZeroShot(self):
"""
Test exporting a zero shot classification model to ONNX and running inference
diff --git a/test/python/testworkflow.py b/test/python/testworkflow.py
index 3bfe34cf..2c2ab94b 100644
--- a/test/python/testworkflow.py
+++ b/test/python/testworkflow.py
@@ -73,7 +73,6 @@ class TestWorkflow(unittest.TestCase):
- transform
"""
- @unittest.skipIf(os.name == "nt", "testBaseWorkflow skipped on Windows")
def testBaseWorkflow(self):
"""
Test a basic workflow
@@ -99,7 +98,6 @@ class TestWorkflow(unittest.TestCase):
results = list(workflow2(workflow1([1, 2, 4, 8, 16, 32])))
self.assertEqual(results, [1, 3, 7, 15, 31, 63])
- @unittest.skipIf(os.name == "nt", "testComplexWorkflow skipped on Windows")
def testComplexWorkflow(self):
"""
Test a complex workflow
@@ -141,7 +139,6 @@ class TestWorkflow(unittest.TestCase):
self.assertEqual(index, 0)
self.assertEqual(data[0][1], "txtai builds an AI-powered index over sections")
- @unittest.skipIf(os.name == "nt", "testConcurrentWorkflow skipped on Windows")
def testConcurrentWorkflow(self):
"""
Test running concurrent task actions