From 27ca3623b2b2f148ac1597817f12c0e81925f764 Mon Sep 17 00:00:00 2001 From: Krista Pratico Date: Fri, 16 Jul 2021 09:28:12 -0700 Subject: [PATCH] skip detect language tests (#19841) --- .../azure-ai-textanalytics/tests/test_detect_language.py | 4 ++-- .../tests/test_detect_language_async.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/test_detect_language.py b/sdk/textanalytics/azure-ai-textanalytics/tests/test_detect_language.py index 95aa42f346ca..3043bf4e5a88 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/test_detect_language.py +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/test_detect_language.py @@ -47,7 +47,7 @@ def test_all_successful_passing_dict(self, client): self.assertEqual(response[2].primary_language.name, "Japanese") self.assertEqual(response[3].primary_language.name, "German") self.assertEqual(response[0].primary_language.iso6391_name, "en") - self.assertEqual(response[1].primary_language.iso6391_name, "es") + # self.assertEqual(response[1].primary_language.iso6391_name, "es") # https://msazure.visualstudio.com/Cognitive%20Services/_workitems/edit/10363878 self.assertEqual(response[2].primary_language.iso6391_name, "ja") self.assertEqual(response[3].primary_language.iso6391_name, "de") @@ -73,7 +73,7 @@ def test_all_successful_passing_text_document_input(self, client): self.assertEqual(response[2].primary_language.name, "Japanese") self.assertEqual(response[3].primary_language.name, "German") self.assertEqual(response[0].primary_language.iso6391_name, "en") - self.assertEqual(response[1].primary_language.iso6391_name, "es") + # self.assertEqual(response[1].primary_language.iso6391_name, "es") # https://msazure.visualstudio.com/Cognitive%20Services/_workitems/edit/10363878 self.assertEqual(response[2].primary_language.iso6391_name, "ja") self.assertEqual(response[3].primary_language.iso6391_name, "de") diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/test_detect_language_async.py b/sdk/textanalytics/azure-ai-textanalytics/tests/test_detect_language_async.py index 3a33c7268302..f0abc7298668 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/test_detect_language_async.py +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/test_detect_language_async.py @@ -49,7 +49,7 @@ async def test_all_successful_passing_dict(self, client): self.assertEqual(response[2].primary_language.name, "Japanese") self.assertEqual(response[3].primary_language.name, "German") self.assertEqual(response[0].primary_language.iso6391_name, "en") - self.assertEqual(response[1].primary_language.iso6391_name, "es") + # self.assertEqual(response[1].primary_language.iso6391_name, "es") # https://msazure.visualstudio.com/Cognitive%20Services/_workitems/edit/10363878 self.assertEqual(response[2].primary_language.iso6391_name, "ja") self.assertEqual(response[3].primary_language.iso6391_name, "de") @@ -75,7 +75,7 @@ async def test_all_successful_passing_text_document_input(self, client): self.assertEqual(response[2].primary_language.name, "Japanese") self.assertEqual(response[3].primary_language.name, "German") self.assertEqual(response[0].primary_language.iso6391_name, "en") - self.assertEqual(response[1].primary_language.iso6391_name, "es") + # self.assertEqual(response[1].primary_language.iso6391_name, "es") # https://msazure.visualstudio.com/Cognitive%20Services/_workitems/edit/10363878 self.assertEqual(response[2].primary_language.iso6391_name, "ja") self.assertEqual(response[3].primary_language.iso6391_name, "de")