Skip to content

Commit

Permalink
test(nuget): Disable NuGetFunTest
Browse files Browse the repository at this point in the history
The test currently fails with a 401 (Unauthorized) error when trying to
access [1]. Disable it until the root cause is found.

[1]: https://pkgs.dev.azure.com/ms/terminal/_packaging/TerminalDependencies/nuget/v3/index.json

Signed-off-by: Martin Nonnenmacher <martin.nonnenmacher@bosch.com>
  • Loading branch information
mnonnenmacher committed Sep 7, 2024
1 parent 8ce9483 commit 1132b40
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import org.ossreviewtoolkit.utils.test.getAssetFile
import org.ossreviewtoolkit.utils.test.matchExpectedResult

class NuGetFunTest : StringSpec({
"DotNet project dependencies are detected correctly" {
"DotNet project dependencies are detected correctly".config(enabled = false) {
val definitionFile = getAssetFile("dotnet/subProjectTest/test.csproj")
val expectedResultFile = getAssetFile("dotnet-expected-output.yml")

Expand All @@ -39,7 +39,7 @@ class NuGetFunTest : StringSpec({
result.toYaml() should matchExpectedResult(expectedResultFile, definitionFile)
}

"License extraction is done correctly" {
"License extraction is done correctly".config(enabled = false) {
val definitionFile = getAssetFile("dotnet/subProjectTestWithCsProj/test.csproj")
val expectedResultFile = getAssetFile("dotnet-license-expected-output.yml")

Expand All @@ -48,7 +48,7 @@ class NuGetFunTest : StringSpec({
result.toYaml() should matchExpectedResult(expectedResultFile, definitionFile)
}

"A .csproj file with an accompanying .nuspec file is detected correctly" {
"A .csproj file with an accompanying .nuspec file is detected correctly".config(enabled = false) {
val definitionFile = getAssetFile("dotnet/subProjectTestWithNuspec/test.csproj")
val expectedResultFile = getAssetFile("dotnet-with-nuspec-expected-output.yml")

Expand All @@ -57,7 +57,7 @@ class NuGetFunTest : StringSpec({
result.toYaml() should matchExpectedResult(expectedResultFile, definitionFile)
}

"A large number of dependencies is resolved at once in a .csproj file" {
"A large number of dependencies is resolved at once in a .csproj file".config(enabled = false) {
val definitionFile = getAssetFile("dotnet/subProjectTestWithManyDepsCsProj/test.csproj")
val expectedResultFile = getAssetFile("dotnet-many-deps-expected-output.yml")

Expand All @@ -66,7 +66,7 @@ class NuGetFunTest : StringSpec({
result.toYaml() should matchExpectedResult(expectedResultFile, definitionFile)
}

"NuGet project dependencies are detected correctly" {
"NuGet project dependencies are detected correctly".config(enabled = false) {
val definitionFile = getAssetFile("nuget/packages.config")
val expectedResultFile = getAssetFile("nuget-expected-output.yml")

Expand All @@ -75,7 +75,7 @@ class NuGetFunTest : StringSpec({
result.withInvariantIssues().toYaml() should matchExpectedResult(expectedResultFile, definitionFile)
}

"Project dependencies are detected correctly with a nuget.config present" {
"Project dependencies are detected correctly with a nuget.config present".config(enabled = false) {
val definitionFile = getAssetFile("dotnet/subProjectTestWithNuGetConfig/test.csproj")
val expectedResultFile = getAssetFile("dotnet-with-csproj-and-nuget-config-expected-output.yml")

Expand Down

0 comments on commit 1132b40

Please sign in to comment.