@@ -306,9 +306,6 @@ async def test_fail_create_full_text_indexing_policy_async(self):
306306 # pytest.fail("Container creation should have failed for lack of embedding policy.")
307307 except exceptions .CosmosHttpResponseError as e :
308308 assert e .status_code == 400
309- assert re .search (
310- r"the path of the full.text index.*does not match the path specified in the full.text policy" ,
311- e .http_error_message , re .IGNORECASE )
312309
313310 # Pass a full text indexing policy with a wrongly formatted path
314311 indexing_policy_wrong_path = {
@@ -326,9 +323,6 @@ async def test_fail_create_full_text_indexing_policy_async(self):
326323 pytest .fail ("Container creation should have failed for invalid path." )
327324 except exceptions .CosmosHttpResponseError as e :
328325 assert e .status_code == 400
329- assert re .search (
330- r"full.text index specification at index \(0\) contains invalid path" ,
331- e .http_error_message , re .IGNORECASE )
332326
333327 # Pass a full text indexing policy without a path field
334328 indexing_policy_no_path = {
@@ -346,9 +340,6 @@ async def test_fail_create_full_text_indexing_policy_async(self):
346340 pytest .fail ("Container creation should have failed for missing path." )
347341 except exceptions .CosmosHttpResponseError as e :
348342 assert e .status_code == 400
349- assert re .search (
350- r"missing path in full.text index specification at index \(0\)" ,
351- e .http_error_message , re .IGNORECASE )
352343
353344 # Skipped until testing pipeline is set up for full text multi-language support
354345 @pytest .mark .skip
0 commit comments