Skip to content

Commit

Permalink
fix cspell issues for azure-communication identity (Azure#22636) (Azu…
Browse files Browse the repository at this point in the history
…re#23085)

Co-authored-by: Aigerim Beishenbekova <aigerimb@Aigerims-MacBook-Pro-2.local>
  • Loading branch information
2 people authored and rakshith91 committed Apr 10, 2022
1 parent 355783c commit 9be7fb6
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 7 deletions.
12 changes: 11 additions & 1 deletion .vscode/cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@
"sdk/cognitiveservices/azure-cognitiveservices-search-visualsearch/**",
"sdk/communication/azure-communication-networktraversal/**",
"sdk/communication/azure-communication-chat/**",
"sdk/communication/azure-communication-identity/**",
"sdk/communication/azure-communication-phonenumbers/**",
"sdk/communication/azure-communication-sms/**",
"sdk/confidentialledger/azure-confidentialledger/**",
Expand Down Expand Up @@ -155,6 +154,7 @@
"fqdns",
"fstat",
"gbps",
"GCCH",
"graphrbac",
"guids",
"hanaonazure",
Expand Down Expand Up @@ -327,6 +327,16 @@
"verfasst",
"engelska"
]
},
{
"filename": "sdk/communication/azure-communication-identity/tests/*.py",
"words": [
"XVCJ",
"Njgw",
"FNNHHJT",
"Zwiz",
"nypg"
]
}
],
"allowCompoundWords": true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class CommunicationIdentifierKind(with_metaclass(CaseInsensitiveEnumMeta, str, E


class CommunicationCloudEnvironment(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)):
"""The cloud enviornment that the identifier belongs to"""
"""The cloud environment that the identifier belongs to"""

PUBLIC = "PUBLIC"
DOD = "DOD"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class CommunicationIdentifierKind(with_metaclass(CaseInsensitiveEnumMeta, str, E


class CommunicationCloudEnvironment(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)):
"""The cloud enviornment that the identifier belongs to"""
"""The cloud environment that the identifier belongs to"""

PUBLIC = "PUBLIC"
DOD = "DOD"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def test_communicationtokencredential_token_expired_refresh_called(self):
self.assertEqual(access_token, self.sample_token)


def test_communicationtokencredential_token_expired_refresh_called_asnecessary(self):
def test_communicationtokencredential_token_expired_refresh_called_as_necessary(self):
refresher = MagicMock(return_value=create_access_token(self.expired_token))
refresh_options = CommunicationTokenRefreshOptions(self.expired_token, refresher)
credential = CommunicationTokenCredential(refresh_options)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class CommunicationIdentifierKind(with_metaclass(CaseInsensitiveEnumMeta, str, E


class CommunicationCloudEnvironment(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)):
"""The cloud enviornment that the identifier belongs to"""
"""The cloud environment that the identifier belongs to"""

PUBLIC = "PUBLIC"
DOD = "DOD"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class CommunicationIdentifierKind(with_metaclass(CaseInsensitiveEnumMeta, str, E


class CommunicationCloudEnvironment(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)):
"""The cloud enviornment that the identifier belongs to"""
"""The cloud environment that the identifier belongs to"""

PUBLIC = "PUBLIC"
DOD = "DOD"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class CommunicationIdentifierKind(with_metaclass(CaseInsensitiveEnumMeta, str, E


class CommunicationCloudEnvironment(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)):
"""The cloud enviornment that the identifier belongs to"""
"""The cloud environment that the identifier belongs to"""

PUBLIC = "PUBLIC"
DOD = "DOD"
Expand Down

0 comments on commit 9be7fb6

Please sign in to comment.