File tree Expand file tree Collapse file tree 1 file changed +8
-16
lines changed Expand file tree Collapse file tree 1 file changed +8
-16
lines changed Original file line number Diff line number Diff line change 1
- import unittest
2
-
3
- import cwltool
4
- import cwltool .factory
5
-
6
1
from .util import get_data , get_windows_safe_factory , windows_needs_docker
7
2
8
-
9
- class TestInitialWorkDir (unittest .TestCase ):
10
-
11
- @windows_needs_docker
12
- def test_newline_in_entry (self ):
13
- """
14
- test that files in InitialWorkingDirectory are created with a newline character
15
- """
16
- f = get_windows_safe_factory ()
17
- echo = f .make (get_data ("tests/wf/iwdr-entry.cwl" ))
18
- self .assertEqual (echo (message = "hello" ), {"out" : "CONFIGVAR=hello\n " })
3
+ @windows_needs_docker
4
+ def test_newline_in_entry ():
5
+ """
6
+ test that files in InitialWorkingDirectory are created with a newline character
7
+ """
8
+ factory = get_windows_safe_factory ()
9
+ echo = factory .make (get_data ("tests/wf/iwdr-entry.cwl" ))
10
+ assert echo (message = "hello" ) == {"out" : "CONFIGVAR=hello\n " }
You can’t perform that action at this time.
0 commit comments