From fe43ab038cf9acc65500382ec2c9cae32c3ade69 Mon Sep 17 00:00:00 2001
From: Thomas Kluyver <thomas@kluyver.me.uk>
Date: Fri, 23 Jun 2023 15:33:06 +0100
Subject: [PATCH] Fix --report-to in tests

---
 tests/test_xfel_calibrate/conftest.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/tests/test_xfel_calibrate/conftest.py b/tests/test_xfel_calibrate/conftest.py
index a98c41025..21161c99e 100644
--- a/tests/test_xfel_calibrate/conftest.py
+++ b/tests/test_xfel_calibrate/conftest.py
@@ -215,7 +215,9 @@ class CalibrateCall:
         self.in_folder = in_folder
         self.out_folder = out_folder
 
-        self.args = [command, detector, cal_type, '--report-to', str(reports_dir)]
+        self.args = [
+            command, detector, cal_type, '--report-to', str(reports_dir / 'test.pdf')
+        ]
         if in_folder:
             self.args.extend(["--in-folder", str(self.in_folder)])
         if out_folder:
-- 
GitLab