Skip to content

armgit / txtai

Public Imported from GitHub
0

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

test: cover the tqdm library stub

morgan-coded193facd14460
diff --git a/test/python/testlibrary.py b/test/python/testlibrary.py
index c2010c02..e153bad6 100644
--- a/test/python/testlibrary.py
+++ b/test/python/testlibrary.py
@@ -34,6 +34,8 @@ class TestLibrary(unittest.TestCase):
"torch.nn",
"torch.onnx",
"torch.utils.data",
+ "tqdm",
+ "tqdm.auto",
"yaml",
]
@@ -95,6 +97,9 @@ class TestLibrary(unittest.TestCase):
with self.assertRaises(ImportError):
lib.torch().device
+ with self.assertRaises(ImportError):
+ lib.tqdm().tqdm
+
with self.assertRaises(ImportError):
lib.transformers().AutoModel