Skip to content

Commit b879ee7

Browse files
committed
tests now pass on win7+docker
1 parent f70228a commit b879ee7

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

tests/test_examples.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@
2525
import schema_salad.validate
2626
from cwltool.main import main
2727

28-
from .util import (get_data, needs_docker, windows_default_container_id,
29-
onWindows)
28+
from .util import get_data, needs_docker
3029

3130
sys.argv = ['']
3231

@@ -616,9 +615,7 @@ def test_wf_without_container(self):
616615
class TestChecksum(TestCmdLine):
617616

618617
def test_compute_checksum(self):
619-
f = cwltool.factory.Factory(compute_checksum=True,
620-
default_container=windows_default_container_id if onWindows()
621-
else None)
618+
f = cwltool.factory.Factory(compute_checksum=True)
622619
echo = f.make(get_data("tests/wf/cat-tool.cwl"))
623620
output = echo(file1={
624621
"class": "File",

tests/wf/cat-tool.cwl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
class: CommandLineTool
44
cwlVersion: v1.0
55

6+
hints:
7+
DockerRequirement:
8+
dockerPull: frolvlad/alpine-bash
9+
610
inputs:
711
file1: File
812

0 commit comments

Comments
 (0)