Skip to content

Commit 52adebb

Browse files
committed
maintenance: remove unittest from test_iwdr
1 parent f2ab69a commit 52adebb

File tree

1 file changed

+8
-16
lines changed

1 file changed

+8
-16
lines changed

tests/test_iwdr.py

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,10 @@
1-
import unittest
2-
3-
import cwltool
4-
import cwltool.factory
5-
61
from .util import get_data, get_windows_safe_factory, windows_needs_docker
72

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"}

0 commit comments

Comments
 (0)