From caa9f25ea5d303fc1ec785635377d97269663e1d Mon Sep 17 00:00:00 2001 From: Yujin Cho Date: Fri, 9 Sep 2022 07:55:37 +0900 Subject: [PATCH] fix: cspell typos in purview --- .vscode/cspell.json | 22 ++++++++++++++++++- .../azure-purview-catalog/tests/test_smoke.py | 1 + .../tests/test_smoke_async.py | 3 ++- 3 files changed, 24 insertions(+), 2 deletions(-) diff --git a/.vscode/cspell.json b/.vscode/cspell.json index 681d05d092fb..b8bf6191f562 100644 --- a/.vscode/cspell.json +++ b/.vscode/cspell.json @@ -74,7 +74,6 @@ "sdk/keyvault/azure-keyvault-keys/tests/keys.py", "sdk/modelsrepository/azure-iot-modelsrepository/**", "sdk/monitor/azure-monitor-query/**", - "sdk/purview/azure-purview-catalog/**", "sdk/servicefabric/azure-servicefabric/**", "sdk/search/azure-search-documents/**", "sdk/storage/azure-storage-blob-changefeed/**", @@ -779,6 +778,27 @@ "Shenzen", "myusername" ] + }, + { + "filename": "sdk/purview/azure-purview-catalog/azure/purview/catalog/aio/operations/*.py", + "words": [ + "struct", + "STRUCT", + "nonly", + "nthe", + "reques" + ] + }, + { + "filename": "sdk/purview/azure-purview-catalog/azure/purview/catalog/operations/*.py", + "words": [ + "struct", + "structdef", + "STRUCT", + "nonly", + "nthe", + "reques" + ] } ], "allowCompoundWords": true diff --git a/sdk/purview/azure-purview-catalog/tests/test_smoke.py b/sdk/purview/azure-purview-catalog/tests/test_smoke.py index 6cb56fd1e67f..4139dbb97ebb 100644 --- a/sdk/purview/azure-purview-catalog/tests/test_smoke.py +++ b/sdk/purview/azure-purview-catalog/tests/test_smoke.py @@ -16,6 +16,7 @@ class TestPurviewCatalogSmoke(PurviewCatalogTest): def test_basic_smoke_test(self, purviewcatalog_endpoint): client = self.create_client(endpoint=purviewcatalog_endpoint) response = client.types.get_all_type_definitions() + # cspell: disable-next-line assert set(response.keys()) == set(['enumDefs', 'structDefs', 'classificationDefs', 'entityDefs', 'relationshipDefs','businessMetadataDefs']) @recorded_by_proxy diff --git a/sdk/purview/azure-purview-catalog/tests/test_smoke_async.py b/sdk/purview/azure-purview-catalog/tests/test_smoke_async.py index 74efda8a2579..bd97124b680b 100644 --- a/sdk/purview/azure-purview-catalog/tests/test_smoke_async.py +++ b/sdk/purview/azure-purview-catalog/tests/test_smoke_async.py @@ -16,5 +16,6 @@ class TestPurviewCatalogSmokeAsync(PurviewCatalogTestAsync): async def test_basic_smoke_test(self, purviewcatalog_endpoint): client = self.create_async_client(endpoint=purviewcatalog_endpoint) response = await client.types.get_all_type_definitions() - + + # cspell: disable-next-line assert set(response.keys()) == set(['enumDefs', 'structDefs', 'classificationDefs', 'entityDefs', 'relationshipDefs','businessMetadataDefs'])