Files
brand-innovation-intelligen…/tests/test_coverage_policy.py
T
2026-11-09 13:34:39 -07:00

16 lines
702 B
Python

from pathlib import Path
import unittest
ROOT = Path(__file__).resolve().parents[1]
class CoveragePolicyTests(unittest.TestCase):
def test_active_entrypoints_preserve_gap_and_integrity_rules(self):
for relative in ['README.md', 'AGENTS.md', 'skills/outdoor-brand-email-innovation-intelligence/SKILL.md']:
with self.subTest(path=relative):
text = (ROOT / relative).read_text(encoding='utf-8')
for required in ['completed-with-gaps', 'Missing access', 'full-coverage success checkpoint', 'Privacy, authorization', 'Never bypass an access denial']:
self.assertIn(required, text)
if __name__ == '__main__':
unittest.main()