Skip to content

Commit

Permalink
Adding skip for integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
RogerBarreto committed Nov 12, 2024
1 parent be34607 commit 8f4cefc
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ namespace Microsoft.SemanticKernel.Connectors.AzureAIInference;
/// <summary>
/// Chat completion service for Azure AI Inference.
/// </summary>
[Obsolete("Dedicated AzureAIInferenceChatCompletionService is deprecated. Use OllamaApiClient.AsChatCompletionService() instead.")]
[Obsolete("Dedicated AzureAIInferenceChatCompletionService is deprecated. Use Azure.AI.Inference.ChatCompletionsClient.AsChatClient().AsChatCompletionService() instead.")]
public sealed class AzureAIInferenceChatCompletionService : IChatCompletionService
{
private readonly ChatClientCore _core;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public async Task CanAutoInvokeKernelFunctionsWithComplexTypeParametersAsync()
Assert.Contains("42.8", result.GetValue<string>(), StringComparison.InvariantCulture); // The WeatherPlugin always returns 42.8 for Dublin, Ireland.
}

[Fact]//(Skip = "For manual verification only")]
[Fact(Skip = "For manual verification only")]
public async Task CanAutoInvokeKernelFunctionsWithPrimitiveTypeParametersAsync()
{
// Arrange
Expand All @@ -60,7 +60,7 @@ public async Task CanAutoInvokeKernelFunctionsWithPrimitiveTypeParametersAsync()
Assert.Contains("10", result.GetValue<string>(), StringComparison.InvariantCulture);
}

[Fact]//(Skip = "For manual verification only")]
[Fact(Skip = "For manual verification only")]
public async Task CanAutoInvokeKernelFunctionsWithEnumTypeParametersAsync()
{
// Arrange
Expand All @@ -76,7 +76,7 @@ public async Task CanAutoInvokeKernelFunctionsWithEnumTypeParametersAsync()
Assert.Contains("rain", result.GetValue<string>(), StringComparison.OrdinalIgnoreCase);
}

[Fact]//(Skip = "For manual verification only")]
[Fact(Skip = "For manual verification only")]
public async Task CanAutoInvokeKernelFunctionFromPromptAsync()
{
// Arrange
Expand All @@ -102,7 +102,7 @@ public async Task CanAutoInvokeKernelFunctionFromPromptAsync()
Assert.Contains("Transportation", result.GetValue<string>(), StringComparison.InvariantCultureIgnoreCase);
}

[Fact]//(Skip = "For manual verification only")]
[Fact(Skip = "For manual verification only")]
public async Task ConnectorAgnosticFunctionCallingModelClassesCanBeUsedForManualFunctionCallingAsync()
{
// Arrange
Expand Down Expand Up @@ -142,7 +142,7 @@ public async Task ConnectorAgnosticFunctionCallingModelClassesCanBeUsedForManual
Assert.Contains("rain", messageContent.Content, StringComparison.InvariantCultureIgnoreCase);
}

[Fact]//(Skip = "For manual verification only")]
[Fact(Skip = "For manual verification only")]
public async Task ConnectorAgnosticFunctionCallingModelClassesCanPassFunctionExceptionToConnectorAsync()
{
// Arrange
Expand Down Expand Up @@ -186,7 +186,7 @@ public async Task ConnectorAgnosticFunctionCallingModelClassesCanPassFunctionExc
TestHelpers.AssertChatErrorExcuseMessage(messageContent.Content);
}

[Fact]//(Skip = "For manual verification only")]
[Fact(Skip = "For manual verification only")]
public async Task ConnectorAgnosticFunctionCallingModelClassesSupportSimulatedFunctionCallsAsync()
{
// Arrange
Expand Down Expand Up @@ -215,7 +215,7 @@ public async Task ConnectorAgnosticFunctionCallingModelClassesSupportSimulatedFu
Assert.Contains("tornado", messageContent.Content, StringComparison.InvariantCultureIgnoreCase);
}

[Fact]//(Skip = "For manual verification only")]
[Fact(Skip = "For manual verification only")]
public async Task ConnectorAgnosticFunctionCallingModelClassesCanBeUsedForAutoFunctionCallingAsync()
{
// Arrange
Expand Down Expand Up @@ -264,7 +264,7 @@ public async Task ConnectorAgnosticFunctionCallingModelClassesCanBeUsedForAutoFu
Assert.NotNull(getWeatherForCityFunctionCallResult.Result);
}

[Fact]//(Skip = "For manual verification only")]
[Fact(Skip = "For manual verification only")]
public async Task SubsetOfFunctionsCanBeUsedForFunctionCallingAsync()
{
// Arrange
Expand All @@ -288,7 +288,7 @@ public async Task SubsetOfFunctionsCanBeUsedForFunctionCallingAsync()
Assert.Contains("Friday", result.Content, StringComparison.InvariantCulture);
}

[Fact]//(Skip = "For manual verification only")]
[Fact(Skip = "For manual verification only")]
public async Task RequiredFunctionShouldBeCalledAsync()
{
// Arrange
Expand Down

0 comments on commit 8f4cefc

Please sign in to comment.