03-oct: superguardado automático

This commit is contained in:
minguezsanzjuanjose
2026-10-03 17:13:39 +02:00
parent f10ce5bef4
commit fdd4ea877a
31 changed files with 2229 additions and 4 deletions

13
tests/conftest.py Normal file
View File

@@ -0,0 +1,13 @@
# -*- coding: utf-8 -*-
"""conftest.py — Deja importable el paquete `monitor_estado` en los tests.
Anade INFRAESTRUCTURA/scripts al sys.path para poder hacer
`import monitor_estado.<modulo>` sin instalar el paquete.
"""
import sys
from pathlib import Path
SCRIPTS_DIR = Path(__file__).resolve().parent.parent / "scripts"
if str(SCRIPTS_DIR) not in sys.path:
sys.path.insert(0, str(SCRIPTS_DIR))