Newer
Older
JorgeEcheva26
committed
import os
import utilities
JorgeEcheva26
committed
# Añadir el directorio del SDK al PYTHONPATH usando una ruta relativa
script_dir = os.path.dirname(os.path.abspath(__file__)) # Directorio actual del script
sdk_path = os.path.join(script_dir, '..', 'sdk') # Subir un nivel y apuntar a 'sdk'
sys.path.insert(0, sdk_path)
capif_connector = CAPIFProviderConnector(config_file=utilities.get_config_file())
# Let's register a NEF to CAPIF. This should happen exactly once