Propagate CI safety settings into nested checks
Deployment Installer / deployment-installer (push) Successful in 7s
Dependency Audit / dependency-audit (push) Successful in 2m37s
Security Audit / security-audit (push) Successful in 10m59s

This commit is contained in:
2026-07-31 06:15:56 +02:00
parent ba82a85547
commit ff9d2404ab
5 changed files with 108 additions and 4 deletions
+5
View File
@@ -46,6 +46,10 @@ class PostgresIntegrationCheckTests(unittest.TestCase):
env["GOVOPLAN_CONNECTOR_ALLOW_PRIVATE_NETWORKS"],
"false",
)
self.assertEqual(
env["GOVOPLAN_ALLOW_PROCESS_LOCAL_LOGIN_THROTTLE"],
"true",
)
def test_existing_runtime_safety_settings_are_preserved(self) -> None:
module = _load_script()
@@ -53,6 +57,7 @@ class PostgresIntegrationCheckTests(unittest.TestCase):
"CORS_ORIGINS": "https://govoplan.example.test",
"GOVOPLAN_TRUSTED_HOSTS": "govoplan.example.test",
"GOVOPLAN_CONNECTOR_ALLOW_PRIVATE_NETWORKS": "true",
"GOVOPLAN_ALLOW_PROCESS_LOCAL_LOGIN_THROTTLE": "false",
}
with patch.dict(os.environ, configured, clear=True):