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 comments

davidmezzetti2e0dfb36d909
diff --git a/test/python/testapi/testencoding.py b/test/python/testapi/testencoding.py
index e99c0b37..749a4eb6 100644
--- a/test/python/testapi/testencoding.py
+++ b/test/python/testapi/testencoding.py
@@ -87,7 +87,7 @@ class TestEncoding(unittest.TestCase):
def testInvalidInputs(self):
"""
- Tests invalid parameter inputs
+ Test invalid parameter inputs
"""
response = self.client.post("addimage", data={"uid": [0, 1]}, files={"data": b"123"})
@@ -98,7 +98,7 @@ class TestEncoding(unittest.TestCase):
def testInvalidJSON(self):
"""
- Tests that invalid JSON raises an exception
+ Test that invalid JSON raises an exception
"""
with self.assertRaises(TypeError):
@@ -149,7 +149,7 @@ class TestEncoding(unittest.TestCase):
def testReadOnly(self):
"""
- Tests read only indexes
+ Test read only indexes
"""
# Recreate model with standard object encoding
diff --git a/test/python/testdatabase/testrdbms.py b/test/python/testdatabase/testrdbms.py
index cb62c5f2..18f6a73f 100644
--- a/test/python/testdatabase/testrdbms.py
+++ b/test/python/testdatabase/testrdbms.py
@@ -449,7 +449,7 @@ class Common:
def testNoIndex(self):
"""
- Tests an embeddings instance with no available indexes
+ Test an embeddings instance with no available indexes
"""
# Disable top-level indexing
diff --git a/test/python/testmodels/testmodels.py b/test/python/testmodels/testmodels.py
index e04d3638..c67667bb 100644
--- a/test/python/testmodels/testmodels.py
+++ b/test/python/testmodels/testmodels.py
@@ -40,7 +40,7 @@ class TestModels(unittest.TestCase):
def testDevice(self):
"""
- Tests the device method
+ Test the device method
"""
# pylint: disable=E1101
diff --git a/test/python/testmodels/testpooling.py b/test/python/testmodels/testpooling.py
index 9cf6bb72..8f47e4d5 100644
--- a/test/python/testmodels/testpooling.py
+++ b/test/python/testmodels/testpooling.py
@@ -59,7 +59,7 @@ class TestPooling(unittest.TestCase):
def testMean(self):
"""
- Tests mean pooling
+ Test mean pooling
"""
# Test mean pooling
diff --git a/test/python/testscoring.py b/test/python/testscoring.py
index 13f7801b..11c54e77 100644
--- a/test/python/testscoring.py
+++ b/test/python/testscoring.py
@@ -387,7 +387,7 @@ class TestScoring(unittest.TestCase):
@patch("sys.byteorder", "big")
def settings(self, config):
"""
- Tests various settings.
+ Test various settings.
Args:
config: scoring config