mirror of
https://github.com/neuml/txtai.git
synced 2026-10-11 21:39:55 +00:00
Cleanup open connection in test
This commit is contained in:
@@ -368,6 +368,9 @@ class Common:
|
||||
for result, value in zip(results, expected):
|
||||
self.assertAlmostEqual(result["score"], value["score"], places=5)
|
||||
|
||||
# Cleanup connection
|
||||
embeddings.close()
|
||||
|
||||
def testIndex(self):
|
||||
"""
|
||||
Test index
|
||||
|
||||
Reference in New Issue
Block a user