py-azure-identity: fix import tests (#23915)

This commit is contained in:
Adam J. Stewart 2021-05-26 15:19:38 -05:00 committed by GitHub
parent 35f7959f54
commit 6d2d99d1fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,6 +10,12 @@ class PyAzureIdentity(PythonPackage):
homepage = "https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/identity/azure-identity" homepage = "https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/identity/azure-identity"
pypi = "azure-identity/azure-identity-1.3.1.zip" pypi = "azure-identity/azure-identity-1.3.1.zip"
# 'azure.identity.aio' import doesn't work for some reason, leave out of
# 'import_modules' list to ensure that tests still pass for other imports.
import_modules = [
'azure.identity', 'azure.identity._internal', 'azure.identity._credentials'
]
version('1.3.1', sha256='5a59c36b4b05bdaec455c390feda71b6495fc828246593404351b9a41c2e877a') version('1.3.1', sha256='5a59c36b4b05bdaec455c390feda71b6495fc828246593404351b9a41c2e877a')
version('1.2.0', sha256='b32acd1cdb6202bfe10d9a0858dc463d8960295da70ae18097eb3b85ab12cb91') version('1.2.0', sha256='b32acd1cdb6202bfe10d9a0858dc463d8960295da70ae18097eb3b85ab12cb91')