Skip to content

Commit 620a249

Browse files
committed
try simple fix
1 parent f4bf890 commit 620a249

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

tests/test_examples.py

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,10 +137,17 @@ def test_params(self):
137137

138138

139139
class TestFactory(unittest.TestCase):
140+
141+
#def _find_default_container(default_container_id, builder):
142+
# return default_container_id
143+
140144
def test_factory(self):
141145
if onWindows():
142-
opts = {'default_container': windows_default_container_id}
143-
else:
146+
#opts = {'find_default_container': functools.partial(
147+
# _find_default_container, windows_default_container_id)}
148+
opts = {'default_container': windows_default_container_id,
149+
'use_container': True}
150+
else:
144151
opts = {}
145152
f = cwltool.factory.Factory(**opts)
146153
echo = f.make(get_data("tests/echo.cwl"))

0 commit comments

Comments
 (0)