File tree Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -165,21 +165,3 @@ def test_multiple_fields(self):
165165 index_info [index .name ]["options" ].pop ("status" )
166166 self .assertEqual (index_info [index .name ]["options" ], expected_options )
167167 self .assertAddRemoveIndex (editor , Article , index )
168-
169- def test_field_size_required (self ):
170- index = VectorSearchIndex (
171- name = "recent_article_idx" ,
172- fields = ["number_list" ],
173- )
174- msg = "Atlas vector search requires size."
175- with self .assertRaisesMessage (ValueError , msg ), connection .schema_editor () as editor :
176- editor .add_index (index = index , model = Article )
177-
178- def test_field_type_mismatch (self ):
179- index = VectorSearchIndex (
180- name = "recent_article_idx" ,
181- fields = ["name_list" ],
182- )
183- msg = "Base type must be Float or Decimal."
184- with self .assertRaisesMessage (ValueError , msg ), connection .schema_editor () as editor :
185- editor .add_index (index = index , model = Article )
You can’t perform that action at this time.
0 commit comments