old_contents: import unittest
  
  import cwltool
  import cwltool.factory
  
  from .util import get_data, get_windows_safe_factory, windows_needs_docker
  
  
  class TestInitialWorkDir(unittest.TestCase):
  
      @windows_needs_docker
      def test_newline_in_entry(self):
          """
          test that files in InitialWorkingDirectory are created with a newline character
          """
          f = get_windows_safe_factory()
          echo = f.make(get_data("tests/wf/iwdr-entry.cwl"))
          self.assertEqual(echo(message="hello"), {"out": "CONFIGVAR=hello\n"})
  
new_contents: from .util import get_data, get_windows_safe_factory, windows_needs_docker
  
  @windows_needs_docker
  def test_newline_in_entry():
      """
      test that files in InitialWorkingDirectory are created with a newline character
      """
      factory = get_windows_safe_factory()
      echo = factory.make(get_data("tests/wf/iwdr-entry.cwl"))
      assert echo(message="hello") == {"out": "CONFIGVAR=hello\n"}
  
subject: remove unittest from test_iwdr