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 additional test on Windows

davidmezzettibbe138f58610
diff --git a/test/python/testsummary.py b/test/python/testsummary.py
index ccd972a9..8b85d952 100644
--- a/test/python/testsummary.py
+++ b/test/python/testsummary.py
@@ -30,6 +30,7 @@ class TestSummary(unittest.TestCase):
cls.summary = Summary("t5-small")
+ @unittest.skipIf(os.name == "nt", "testSummary skipped on Windows")
def testSummary(self):
"""
Test summarization of text
diff --git a/test/python/testworkflow.py b/test/python/testworkflow.py
index 4c9126a7..bddca266 100644
--- a/test/python/testworkflow.py
+++ b/test/python/testworkflow.py
@@ -2,6 +2,7 @@
Workflow module tests
"""
+import os
import unittest
from txtai.embeddings import Documents, Embeddings
@@ -31,6 +32,7 @@ class TestWorkflow(unittest.TestCase):
self.assertEqual(len(results), 2)
+ @unittest.skipIf(os.name == "nt", "testComplexWorkflow skipped on Windows")
def testComplexWorkflow(self):
"""
Tests a complex workflow