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

This commit is contained in:
2025-08-07 21:32:58 +02:00
parent c88cf4373d
commit 3461a943b8
+7 -1
View File
@@ -33,7 +33,13 @@ def epics_ioc():
thread = threading.Thread(target=ioc_thread, daemon=True)
thread.start()
time.sleep(1)
time.sleep(1)
def configure_logzero_for_pytest():
logger.handlers.clear()
setup_default_logger(logging.DEBUG) # force tous les logs dans caplog
configure_logzero_for_pytest()
def is_pv_in_cache(name):
return any(k[0] == name for k in epics.pv._PVcache_)