fixed pytest warnings
This commit is contained in:
@@ -22,6 +22,7 @@ class ApprovalStatus(str, Enum):
|
||||
|
||||
class TestType(str, Enum):
|
||||
"""Type of test based on what it validates."""
|
||||
__test__ = False # Not a pytest test class
|
||||
CONSTRAINT = "constraint" # Validates constraint boundaries
|
||||
SUCCESS_CRITERIA = "outcome" # Validates success criteria achievement
|
||||
EDGE_CASE = "edge_case" # Validates edge case handling
|
||||
@@ -37,6 +38,7 @@ class Test(BaseModel):
|
||||
|
||||
All tests require approval before being added to the test suite.
|
||||
"""
|
||||
__test__ = False # Not a pytest test class
|
||||
id: str
|
||||
goal_id: str
|
||||
parent_criteria_id: str = Field(
|
||||
|
||||
@@ -36,6 +36,7 @@ class TestResult(BaseModel):
|
||||
- Error details for debugging
|
||||
- Runtime logs and execution path
|
||||
"""
|
||||
__test__ = False # Not a pytest test class
|
||||
test_id: str
|
||||
passed: bool
|
||||
duration_ms: int = Field(
|
||||
@@ -93,6 +94,7 @@ class TestSuiteResult(BaseModel):
|
||||
|
||||
Provides summary statistics and individual results.
|
||||
"""
|
||||
__test__ = False # Not a pytest test class
|
||||
goal_id: str
|
||||
total: int
|
||||
passed: int
|
||||
|
||||
@@ -34,6 +34,7 @@ class TestStorage:
|
||||
suites/
|
||||
{goal_id}_suite.json # Test suite metadata
|
||||
"""
|
||||
__test__ = False # Not a pytest test class
|
||||
|
||||
def __init__(self, base_path: str | Path):
|
||||
self.base_path = Path(base_path)
|
||||
|
||||
Reference in New Issue
Block a user