public static void DoDeployment(TestContext context) { AssertListener.Initialize(); PythonTestData.Deploy(); // The tests currently only support Azure Tools v2.2. // Support for other versions will be added later. var azureToolsVersion = AzureUtility.ToolsVersion.V22; if (!AzureUtility.AzureToolsInstalled(azureToolsVersion)) { Assert.Inconclusive(string.Format("Azure Tools v{0} required", azureToolsVersion)); } publishSettingsFilePath = Environment.GetEnvironmentVariable("TEST_AZURE_SUBSCRIPTION_FILE"); Assert.IsFalse(string.IsNullOrEmpty(publishSettingsFilePath), "TEST_AZURE_SUBSCRIPTION_FILE environment variable must be set to the path of a .publishSettings file for the Azure subscription."); Assert.IsTrue(File.Exists(publishSettingsFilePath), "Azure subscription settings file does not exist '{0}'.", publishSettingsFilePath); }