fix: address code review feedback - restrict terminal step check to success only, add test assertions
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
This commit is contained in:
@@ -339,6 +339,8 @@ class TestStepManager:
|
||||
|
||||
# Terminal step hasn't run yet, so file should remain pending
|
||||
assert status["status"] == "pending"
|
||||
assert status["has_errors"] is False
|
||||
assert status["completed_steps"] == 3
|
||||
|
||||
def test_get_file_overall_status_failed(self, db_session: Session):
|
||||
"""Test overall status for a file with failed steps."""
|
||||
|
||||
Reference in New Issue
Block a user