diff --git a/tests/docker_yaml_conversion_specification_cli.py b/tests/docker_yaml_conversion_specification_cli.py index 03cad8838..ca3b67db3 100644 --- a/tests/docker_yaml_conversion_specification_cli.py +++ b/tests/docker_yaml_conversion_specification_cli.py @@ -29,11 +29,11 @@ def test_run_conversion_from_yaml_cli(self): output = deploy_process( command=( - "docker run -t " + "docker run " f"--volume {self.source_volume}:{self.source_volume} " f"--volume {self.test_folder}:{self.test_folder} " "ghcr.io/catalystneuro/neuroconv:{self.tag} " - f"neuroconv {yaml_file_path} " + f"-t neuroconv {yaml_file_path} " f"--data-folder-path {self.source_volume}/{DATA_PATH} --output-folder-path {self.test_folder} --overwrite" ), catch_output=True, @@ -89,9 +89,9 @@ def test_run_conversion_from_yaml_variable(self): "docker run -t " f"--volume {self.source_volume}:{self.source_volume} " f"--volume {self.test_folder}:{self.test_folder} " - "-e NEUROCONV_YAML=$NEUROCONV_YAML " - "-e NEUROCONV_DATA_PATH=$NEUROCONV_DATA_PATH " - "-e NEUROCONV_OUTPUT_PATH=$NEUROCONV_OUTPUT_PATH " + '-e NEUROCONV_YAML="$NEUROCONV_YAML" ' + '-e NEUROCONV_DATA_PATH="${NEUROCONV_DATA_PATH" ' + '-e NEUROCONV_OUTPUT_PATH="$NEUROCONV_OUTPUT_PATH" ' "ghcr.io/catalystneuro/neuroconv:yaml_variable" ), catch_output=True,