INNER CODE UNIT · Python
TestScenario
usnistgov/OSCAL · src/specifications/profile-resolution/spec-tester.py:78
class TestScenario(TypedDict):
"""A source profile along with the expected resulting profile and match expressions"""
description: str
source_profile_path: str
expected_catalog_path: str
selection_expressions: List[str]
class TestRequirement(TypedDict):
"""A single requirement composed of multiple test scenarios"""
section_id: str
requirement_id: str
scenarios: List[TestScenario]
DRIVER_SOURCE_TOKEN = "{src}"
DRIVER_DESTINATION_TOKEN = "{dest}"