Skip to content

Commit

Permalink
Fix test error
Browse files Browse the repository at this point in the history
  • Loading branch information
tiadams committed Feb 23, 2024
1 parent a6c62ff commit 546bb96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_repository.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ def test_get_closest_mappings(self):
self.repository.store_all([terminology, concept, mapping_1, mapping_2, mapping_3])
sample_embedding = [0.15, 0.25, 0.35]
closest_mappings, distances = self.repository.get_closest_mappings(sample_embedding, limit=3)
self.assertEqual(len(closest_mappings), 2)
self.assertEqual(len(closest_mappings), 3)
self.assertEqual(mapping_1, closest_mappings[0])

0 comments on commit 546bb96

Please sign in to comment.