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 tests

davidmezzetti4c9d972de9b3
diff --git a/test/python/testdatabase/testduckdb.py b/test/python/testdatabase/testduckdb.py
index 41b3f3a2..220322a3 100644
--- a/test/python/testdatabase/testduckdb.py
+++ b/test/python/testdatabase/testduckdb.py
@@ -2,6 +2,9 @@
DuckDB module tests
"""
+import os
+import unittest
+
from txtai.embeddings import Embeddings
from .testsqlite import TestSQLite
@@ -42,3 +45,11 @@ class TestDuckDB(TestSQLite):
if cls.embeddings:
cls.embeddings.close()
+
+ @unittest.skipIf(os.name == "nt", "testArchive skipped on Windows")
+ def testArchive(self):
+ """
+ Test embeddings index archiving
+ """
+
+ super().testArchive()