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

This commit is contained in:
2025-08-07 16:50:38 +02:00
parent 9e023db701
commit 6764d930af
+2 -2
View File
@@ -71,8 +71,8 @@ def test_preload_fichier_valide(tmp_path, caplog):
pickle.dump([pvname_1, pvname_2], pkl)
# Vérifie que les PV ne sont pas encore dans le cache EPICS
assert !is_pv_in_cache(pvname_1)
assert !is_pv_in_cache(pvname_2)
assert not is_pv_in_cache(pvname_1)
assert not is_pv_in_cache(pvname_2)
# Patch le chemin utilisé dans preload()
with pytest.MonkeyPatch().context() as mp: