File tree 1 file changed +0
-19
lines changed
1 file changed +0
-19
lines changed Original file line number Diff line number Diff line change @@ -183,22 +183,3 @@ def test_field_type_mismatch(self):
183
183
msg = "Base type must be Float or Decimal."
184
184
with self .assertRaisesMessage (ValueError , msg ), connection .schema_editor () as editor :
185
185
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
- )
You can’t perform that action at this time.
0 commit comments