Update tests/test_utils_pvpreload.py
Run CI Tests / test (push) Successful in 1m5s

This commit is contained in:
2025-08-07 21:04:52 +02:00
parent d259c0369c
commit 007eab995e
+5 -2
View File
@@ -85,9 +85,12 @@ def test_preload_fichier_valide(tmp_path, caplog):
assert is_pv_in_cache(pvname_1)
assert is_pv_in_cache(pvname_2)
pv_1 = _PVcache_[pvname_1]
pv_2 = _PVcache_[pvname_2]
# Vérifie qu'ils sont bien connectés
assert pvname_1.wait_for_connection(timeout=2)
assert pvname_2.wait_for_connection(timeout=2)
assert pv_1.wait_for_connection(timeout=2)
assert pv_2.wait_for_connection(timeout=2)
# Vérifie le log final
logs = "\n".join(caplog.messages)