Skip to content

Commit

Permalink
test(package-managers): Remove all Windows-specific expected results
Browse files Browse the repository at this point in the history
As no one is running tests regularly on Windows anymore, remove the
support for it.

Signed-off-by: Frank Viernau <[email protected]>
  • Loading branch information
fviernau committed Nov 7, 2024
1 parent 96ded74 commit d562e97
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 3,969 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ import org.ossreviewtoolkit.analyzer.create
import org.ossreviewtoolkit.analyzer.resolveSingleProject
import org.ossreviewtoolkit.model.toYaml
import org.ossreviewtoolkit.plugins.packagemanagers.python.Pip.Companion.OPTION_PYTHON_VERSION
import org.ossreviewtoolkit.utils.common.Os
import org.ossreviewtoolkit.utils.test.getAssetFile
import org.ossreviewtoolkit.utils.test.matchExpectedResult

Expand Down Expand Up @@ -58,8 +57,7 @@ class PipFunTest : WordSpec({
val definitionFile = getAssetFile("projects/external/example-python-flask/requirements.txt")

// Note: The expected results were generated with Python 3.8 and are incorrect for versions < 3.8.
val suffix = "-windows".takeIf { Os.isWindows }.orEmpty()
val expectedResultFile = getAssetFile("projects/external/example-python-flask-expected-output$suffix.yml")
val expectedResultFile = getAssetFile("projects/external/example-python-flask-expected-output.yml")

val result = create("Pip", OPTION_PYTHON_VERSION to "3.10").resolveSingleProject(definitionFile)

Expand Down
Loading

0 comments on commit d562e97

Please sign in to comment.