"""pytest configuration — ensure the package root is on sys.path so tests can import guarddog_scanner and its siblings directly.""" import sys from pathlib import Path # Add the guarddog/ directory (parent of tests/) to sys.path sys.path.insert(0, str(Path(__file__).parent.parent))