Пример #1
0
 public void GetAzureStorageUsageInvalidCredential()
 {
     if (isResourceMode)
     {
         PowerShellAgent.RemoveAzureSubscriptionIfExists();
         CommandAgent.Logout();
         Test.Assert(!CommandAgent.GetAzureStorageUsage(), "Get azure storage usage should fail.");
         ExpectedContainErrorMessage("No subscription found in the context.");
     }
 }