From 43289b45eab3b5f84998c3ec34442937bfcdc96a Mon Sep 17 00:00:00 2001 From: tligui_y Date: Mon, 11 Aug 2025 13:09:25 +0200 Subject: [PATCH] Update tests/test_utils_elog.py --- tests/test_utils_elog.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/tests/test_utils_elog.py b/tests/test_utils_elog.py index a4c765277..c414cc0c7 100644 --- a/tests/test_utils_elog.py +++ b/tests/test_utils_elog.py @@ -8,7 +8,7 @@ from getpass import getuser, getpass from pathlib import Path from slic.utils.elog import Elog, get_default_elog_instance from unittest.mock import patch -''' + # Helper pour extraire uniquement le mot de passe comme dans la vraie fonction def get_default_elog_password(url, **kwargs): @@ -44,7 +44,7 @@ def test_post_local(): } message = "Hello from local test" msg_id = logbook.post(message, attributes=attributes, encoding="HTML") - print("✅ Posted with msg_id =", msg_id) + print("Posted with msg_id =", msg_id) # Connexion basique avec credentials connus @@ -151,5 +151,4 @@ def test_screenshot(mock_screenshot_class): filename = os.path.basename(fake_path) assert filename in html, f"Attachment '{filename}' not found in post HTML" - os.remove(fake_path) -''' \ No newline at end of file + os.remove(fake_path) \ No newline at end of file