Files
mtusi2026lab3/student-tests/lab2/adapters/custom.example.py
T

13 lines
693 B
Python

#!/usr/bin/env python3
"""Copy and implement one explicit test adapter; never prints credentials."""
import sys
# Expected metrics stdout: {"sql_queries": 1234, "cache_hits": 56}.
# Counts must come from the real observed implementation, not constants here.
# Other hooks: evict only this test namespace; hold/release a real SQL lock or
# all APPLICATION pool connections; switch baseline/protected implementation;
# back up the source and restore only to the explicitly empty test target.
# See README.md for contracts and cleanup obligations. No destructive defaults.
print("BLOCKED: implement the selected adapter for the chosen application/storage.", file=sys.stderr)
raise SystemExit(2)