fixed pytest warnings

This commit is contained in:
bryan
2026-01-23 11:45:02 -08:00
parent e434579258
commit f83bfdf50c
3 changed files with 5 additions and 0 deletions
+2
View File
@@ -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(
+2
View File
@@ -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
+1
View File
@@ -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)