From 7661b58aecb9f8d039379fcbcdc2dd9794a4a22d Mon Sep 17 00:00:00 2001 From: Jan Janssen Date: Mon, 20 Jan 2025 18:45:58 +0100 Subject: [PATCH] fix for minimal test --- tests/unit/job/test_genericJob.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/job/test_genericJob.py b/tests/unit/job/test_genericJob.py index 60cc1deaa..8559e44a9 100644 --- a/tests/unit/job/test_genericJob.py +++ b/tests/unit/job/test_genericJob.py @@ -115,7 +115,7 @@ def test_compress_file_list(self): ) with contextlib.redirect_stdout(io.StringIO(newline=os.linesep)) as f: ham.files.file_to_compress.tail() - self.assertEqual(f.getvalue().replace("\r", ""), "content: file_to_compress\n") + self.assertEqual(f.getvalue().replace("\r", "").replace("\n", ""), "content: file_to_compress") ham.remove() def test_job_name(self):