Skip to content

Commit 0ba5bcd

Browse files
committed
Factory doesn't set windows default container
1 parent ae82534 commit 0ba5bcd

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tests/test_examples.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,11 @@ def test_params(self):
138138

139139
class TestFactory(unittest.TestCase):
140140
def test_factory(self):
141-
f = cwltool.factory.Factory()
141+
if onWindows():
142+
opts = {'default_container': windows_default_container_id}
143+
else:
144+
opts = {}
145+
f = cwltool.factory.Factory(**opts)
142146
echo = f.make(get_data("tests/echo.cwl"))
143147
self.assertEqual(echo(inp="foo"), {"out": "foo\n"})
144148

0 commit comments

Comments
 (0)