@@ -21,8 +21,10 @@ import scala.util.Try
2121
2222class DescriberSpec extends AnyFlatSpec with CromwellTimeoutSpec with Matchers {
2323
24- private val validationTestCases = DefaultPathBuilder .get(" services/src/test/resources/describe/normal" )
25- private val languageVersions = Option (validationTestCases.list).toList.flatten
24+ private val normalValidationTestCases = DefaultPathBuilder .get(" services/src/test/resources/describe/normal" )
25+ private val zippedValidationTestCases = DefaultPathBuilder .get(" services/src/test/resources/describe/zipped" )
26+
27+ private val languageVersions = Option (normalValidationTestCases.list).toList.flatten
2628
2729 CromwellLanguages .initLanguages(LanguageConfiguration .AllLanguageEntries )
2830
@@ -67,16 +69,14 @@ class DescriberSpec extends AnyFlatSpec with CromwellTimeoutSpec with Matchers {
6769 }
6870
6971 it should " describe a workflow when imports are zipped" in {
70- val testCaseDir = DefaultPathBuilder .get(" services/src/test/resources/describe/zipped" )
71-
7272 // Read the main workflow
73- val workflowSource = testCaseDir .resolve(" workflow.wdl" ).contentAsString
73+ val workflowSource = zippedValidationTestCases .resolve(" workflow.wdl" ).contentAsString
7474
7575 // Read the imported file
76- val importedWdl = testCaseDir .resolve(" imports.zip" ).byteArray
76+ val importedWdl = zippedValidationTestCases .resolve(" imports.zip" ).byteArray
7777
7878 // Read expected description
79- val expectedDescription = parse(testCaseDir .resolve(" description.json" ).contentAsString).toOption.get
79+ val expectedDescription = parse(zippedValidationTestCases .resolve(" description.json" ).contentAsString).toOption.get
8080
8181 // Build the source files collection with dependencies zip
8282 val wsfc = WorkflowSourceFilesWithDependenciesZip (
0 commit comments