From 553ad2844f690c0554f03b4f832cbe800970f9d1 Mon Sep 17 00:00:00 2001 From: scbedd <45376673+scbedd@users.noreply.github.com> Date: Fri, 18 Sep 2020 11:17:48 -0700 Subject: [PATCH] move import from azure-common to within the track1 call --- .../devtools_testutils/mgmt_settings_fake.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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',