From b57995e31ce40c2c6ae33afdd2e71abe269b75bf Mon Sep 17 00:00:00 2001 From: Clair Mould <86794332+clmould@users.noreply.github.com> Date: Fri, 28 Aug 2026 09:34:10 +0100 Subject: [PATCH 1/2] Change set_filenames in single_run fixture to use temp_input_file instead of tmp_path --- tests/unit/test_main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/test_main.py b/tests/unit/test_main.py index 98de7df22b..e991658308 100644 --- a/tests/unit/test_main.py +++ b/tests/unit/test_main.py @@ -36,7 +36,7 @@ def single_run(monkeypatch, input_file, tmp_path): single_run.filepath = tmp_path single_run.models = None single_run.data = DataStructure() - single_run.set_filenames(tmp_path) + single_run.set_filenames(temp_input_file) single_run.initialise() return single_run From 53ce3a0e4cc809128998e0d6218e85c1f48d6ec5 Mon Sep 17 00:00:00 2001 From: clmould <86794332+clmould@users.noreply.github.com> Date: Wed, 2 Sep 2026 10:12:35 +0100 Subject: [PATCH 2/2] Update tests/unit/test_main.py Co-authored-by: Timothy <75321887+timothy-nunn@users.noreply.github.com> --- tests/unit/test_main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/test_main.py b/tests/unit/test_main.py index e991658308..4f77df69ec 100644 --- a/tests/unit/test_main.py +++ b/tests/unit/test_main.py @@ -36,7 +36,7 @@ def single_run(monkeypatch, input_file, tmp_path): single_run.filepath = tmp_path single_run.models = None single_run.data = DataStructure() - single_run.set_filenames(temp_input_file) + single_run.set_filenames(None) single_run.initialise() return single_run