Files
breakpilot-compliance/backend-compliance/tests
Benjamin Admin bcf1bfa038
CI / detect-changes (push) Successful in 7s
CI / branch-name (push) Has been skipped
CI / guardrail-integrity (push) Has been skipped
CI / secret-scan (push) Has been skipped
CI / dep-audit (push) Has been skipped
CI / sbom-scan (push) Has been skipped
CI / build-sha-integrity (push) Failing after 4s
CI / validate-canonical-controls (push) Successful in 11s
CI / loc-budget (push) Failing after 15s
CI / go-lint (push) Has been skipped
CI / python-lint (push) Has been skipped
CI / nodejs-lint (push) Has been skipped
CI / nodejs-build (push) Has been skipped
CI / test-go (push) Has been skipped
CI / iace-gt-coverage (push) Has been skipped
CI / test-python-backend (push) Successful in 29s
CI / test-python-document-crawler (push) Has been skipped
CI / test-python-dsms-gateway (push) Has been skipped
test(template-rules): pytest suite for backend foundation (Phase 1.6)
Adds tests/test_template_rule_routes.py with:
- Schema tests (Pydantic validation: condition, clause, version create,
  submit-for-review change_summary, override create, recommendation request)
- Clause evaluator (eq, neq, in, not_in, gte with string buckets, exists, truthy)
- Condition evaluator (all/any kinds, empty clauses always pass)
- Recommendation profile tests (table-driven):
  * AI-Startup with 2 employees gets ai_usage_policy but not whistleblower
  * 1000+ employee corporate gets whistleblower
  * Always-rules (impressum) apply to anyone
  * Third-country transfer triggers TIA unless DPF/adequate
- Tenant override tests:
  * Override changes classification (required → optional with override_applied flag)
  * NULL override disables rule completely

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-06-06 23:19:22 +02:00
..