Update tests/test_utils_pyepics.py
Run CI Tests / test (push) Successful in 1m9s

This commit is contained in:
2025-08-11 00:17:36 +02:00
parent 43804d37f4
commit bcef1a804f
+2 -8
View File
@@ -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"])
assert "d" in estr_special.get()