Skip to content

Commit 89feca0

Browse files
committed
Avoid creating a stray __init__.py
1 parent fae698e commit 89feca0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/test_iwdr.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import os
22
import tempfile
3+
from pathlib import Path
34

45
from cwltool.main import main
56

@@ -30,10 +31,12 @@ def test_empty_file_creation() -> None:
3031

3132

3233
@needs_docker # type: ignore
33-
def test_directory_literal_with_real_inputs_inside() -> None:
34+
def test_directory_literal_with_real_inputs_inside(tmp_path: Path) -> None:
3435
"""Cope with unmoveable files in the output directory created by Docker+IWDR."""
3536
err_code, _, _ = get_main_output(
3637
[
38+
"--out",
39+
str(tmp_path),
3740
get_data("tests/iwdr_dir_literal_real_file.cwl"),
3841
"--example={}".format(get_data("tests/__init__.py")),
3942
]

0 commit comments

Comments
 (0)