audit-labs/audit-report

Turn audit-tools evidence packages into control-mapped, auditor-ready reports. audit compliance evidence reporting https://audit-labs.dev/audit-report/

conftest.py

5efcd1ab7ea396a5c196764c32dff4231d1d8bb2
audit-report/conftest.py history · blame · raw

11 lines · 347 bytes

 1"""Ensure the project root is importable and tests run from it.
 2
 3Tests reference the bundled rulesets by the relative path
 4``audit_report/rulesets``, so pytest must be invoked from the project root.
 5This file's location pins that root for import resolution.
 6"""
 7
 8import sys
 9from pathlib import Path
10
11sys.path.insert(0, str(Path(__file__).parent))