Skip to content

Commit 9fdc143

Browse files
committed
Remove check test, were moved to system check
1 parent 5016356 commit 9fdc143

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

tests/indexes_/test_atlas_indexes.py

-19
Original file line numberDiff line numberDiff line change
@@ -183,22 +183,3 @@ def test_field_type_mismatch(self):
183183
msg = "Base type must be Float or Decimal."
184184
with self.assertRaisesMessage(ValueError, msg), connection.schema_editor() as editor:
185185
editor.add_index(index=index, model=Article)
186-
187-
def test_field_unsuported_type(self):
188-
index = VectorSearchIndex(
189-
name="recent_article_idx",
190-
fields=["data"],
191-
)
192-
msg = "Unsupported filter of type JSONField."
193-
with self.assertRaisesMessage(ValueError, msg), connection.schema_editor() as editor:
194-
editor.add_index(index=index, model=Article)
195-
196-
def test_field_unsuported_similarity_function(self):
197-
msg = (
198-
"cross_product isn't a valid similarity function, options"
199-
f" 'are {','.join(VectorSearchIndex.ALLOWED_SIMILARITY_FUNCTIONS)}"
200-
)
201-
with self.assertRaisesMessage(ValueError, msg):
202-
VectorSearchIndex(
203-
name="recent_article_idx", fields=["data"], similarities="cross_product"
204-
)

0 commit comments

Comments
 (0)