from pathlib import Path def test_n8n_client_ignores_placeholder_runtime_config(): client_path = Path(__file__).resolve().parents[1] / "app/core/data_factory/n8n_client.py" source = client_path.read_text(encoding="utf-8") assert "https://n8n.example.com" in source assert "replace-n8n-api-key" in source assert "DEFAULT_N8N_API_KEY" in source assert 'DEFAULT_N8N_API_URL = "https://n8n.citupro.com"' in source