From bcef1a804f9a0326fc5c858e757cd7b511d5d047 Mon Sep 17 00:00:00 2001 From: tligui_y Date: Mon, 11 Aug 2025 00:17:36 +0200 Subject: [PATCH] Update tests/test_utils_pyepics.py --- tests/test_utils_pyepics.py | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/tests/test_utils_pyepics.py b/tests/test_utils_pyepics.py index 2a12a868a..8e471e61f 100644 --- a/tests/test_utils_pyepics.py +++ b/tests/test_utils_pyepics.py @@ -3,7 +3,7 @@ import time import threading from morbidissimo import MorIOC from slic.utils.hastyepics import get_pv as PV -from your_module import EnumWrapper, MonitorAccumulator, Positioner, EpicsString +from slic.utils.pyepics import * # ------------------------------------------------------------------------------ # Fixture IOC avec PVs pour tous les cas de test @@ -178,10 +178,4 @@ def test_epics_string_full_coverage(capsys): print("\n=== Test caractères spéciaux ===") estr_special = EpicsString("TEST_SPECIAL_CHARS") estr_special.set("a@b.c d") - assert "d" in estr_special.get() - -# ------------------------------------------------------------------------------ -# Exécution -# ------------------------------------------------------------------------------ -if __name__ == "__main__": - pytest.main(["-v", "-s", "--cov=your_module", "--cov-report=term-missing"]) \ No newline at end of file + assert "d" in estr_special.get() \ No newline at end of file