From 1e552576691731206747474a0d7adf7b9f2912a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Ram=C3=ADrez?= Date: Thu, 22 Jan 2026 20:26:20 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Format=20Python=20scripts=20test?= =?UTF-8?q?s?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/tests/scripts/test_backend_pre_start.py | 6 +++--- backend/tests/scripts/test_test_pre_start.py | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/backend/tests/scripts/test_backend_pre_start.py b/backend/tests/scripts/test_backend_pre_start.py index 064fca9880..e8f35c644a 100644 --- a/backend/tests/scripts/test_backend_pre_start.py +++ b/backend/tests/scripts/test_backend_pre_start.py @@ -26,8 +26,8 @@ def test_init_successful_connection() -> None: except Exception: connection_successful = False - assert ( - connection_successful - ), "The database connection should be successful and not raise an exception." + assert connection_successful, ( + "The database connection should be successful and not raise an exception." + ) session_mock.exec.assert_called_once_with(select1) diff --git a/backend/tests/scripts/test_test_pre_start.py b/backend/tests/scripts/test_test_pre_start.py index a4947fdfbf..180bdd5232 100644 --- a/backend/tests/scripts/test_test_pre_start.py +++ b/backend/tests/scripts/test_test_pre_start.py @@ -26,8 +26,8 @@ def test_init_successful_connection() -> None: except Exception: connection_successful = False - assert ( - connection_successful - ), "The database connection should be successful and not raise an exception." + assert connection_successful, ( + "The database connection should be successful and not raise an exception." + ) session_mock.exec.assert_called_once_with(select1)