From ab952886b47ff2ab5bc05c3e73c302d543a0e65b Mon Sep 17 00:00:00 2001 From: mvdbeek Date: Sun, 16 Jun 2019 17:26:10 +0200 Subject: [PATCH] Include .xml in job_config_file --- test/integration/test_cli_runners.py | 2 +- test/integration/test_kubernetes_runner.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/integration/test_cli_runners.py b/test/integration/test_cli_runners.py index 64605642e7a..370c37da79f 100644 --- a/test/integration/test_cli_runners.py +++ b/test/integration/test_cli_runners.py @@ -67,7 +67,7 @@ def cli_job_config(remote_connection, shell_plugin='ParamikoShell', job_plugin=' job_conf_str = job_conf_template.substitute(shell_plugin=shell_plugin, job_plugin=job_plugin, **remote_connection._asdict()) - with tempfile.NamedTemporaryFile(suffix="_slurm_integration_job_conf", mode="w", delete=False) as job_conf: + with tempfile.NamedTemporaryFile(suffix="_slurm_integration_job_conf.xml", mode="w", delete=False) as job_conf: job_conf.write(job_conf_str) return job_conf.name diff --git a/test/integration/test_kubernetes_runner.py b/test/integration/test_kubernetes_runner.py index 766260f599c..34e469ee716 100644 --- a/test/integration/test_kubernetes_runner.py +++ b/test/integration/test_kubernetes_runner.py @@ -111,7 +111,7 @@ def job_config(jobs_directory): tool_directory=TOOL_DIR, k8s_config_path=os.environ.get('GALAXY_TEST_KUBE_CONFIG_PATH', '~/.kube/config'), ) - with tempfile.NamedTemporaryFile(suffix="_kubernetes_integration_job_conf", mode="w", delete=False) as job_conf: + with tempfile.NamedTemporaryFile(suffix="_kubernetes_integration_job_conf.xml", mode="w", delete=False) as job_conf: job_conf.write(job_conf_str) return Config(job_conf.name)