diff --git a/tools/azure-sdk-tools/devtools_testutils/mgmt_settings_fake.py b/tools/azure-sdk-tools/devtools_testutils/mgmt_settings_fake.py index 8e24c6037a03..9659c5d49810 100644 --- a/tools/azure-sdk-tools/devtools_testutils/mgmt_settings_fake.py +++ b/tools/azure-sdk-tools/devtools_testutils/mgmt_settings_fake.py @@ -4,11 +4,6 @@ # license information. #-------------------------------------------------------------------------- -from azure.common.credentials import ( - BasicTokenAuthentication, - UserPassCredentials -) - SUBSCRIPTION_ID = "00000000-0000-0000-0000-000000000000" # Keyvault tests @@ -53,6 +48,11 @@ def get_token(self, *scopes, **kwargs): def get_credentials(**kwargs): + from azure.common.credentials import ( + BasicTokenAuthentication, + UserPassCredentials + ) + # Put your credentials here in the "real" file #return UserPassCredentials( # 'user@myaddomain.onmicrosoft.com',