File tree Expand file tree Collapse file tree
model/src/test/kotlin/config
common/src/funTest/kotlin Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ import io.kotest.assertions.throwables.shouldThrow
2525import io.kotest.core.TestConfiguration
2626import io.kotest.core.spec.style.WordSpec
2727import io.kotest.engine.spec.tempfile
28+ import io.kotest.extensions.system.withEnvironment
2829import io.kotest.matchers.collections.containExactly
2930import io.kotest.matchers.collections.containExactlyInAnyOrder
3031import io.kotest.matchers.maps.beEmpty
@@ -42,7 +43,6 @@ import org.ossreviewtoolkit.model.SourceCodeOrigin
4243import org.ossreviewtoolkit.plugins.api.PluginConfig
4344import org.ossreviewtoolkit.utils.common.EnvironmentVariableFilter
4445import org.ossreviewtoolkit.utils.ort.ORT_REFERENCE_CONFIG_FILENAME
45- import org.ossreviewtoolkit.utils.test.withEnvironment
4646
4747class OrtConfigurationTest : WordSpec ({
4848 " OrtConfiguration" should {
Original file line number Diff line number Diff line change 2020package org.ossreviewtoolkit.utils.common
2121
2222import io.kotest.core.spec.style.StringSpec
23+ import io.kotest.extensions.system.withEnvironment
2324import io.kotest.matchers.shouldBe
2425import io.kotest.matchers.string.shouldContain
2526
26- import org.ossreviewtoolkit.utils.test.withEnvironment
27-
2827class ProcessCaptureFunTest : StringSpec ({
2928 " Environment variables should be passed correctly" {
3029 val env = mapOf("PREFIX " to "This is some path: ", "SOME_PATH " to "/foo/bar")
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments