fix(tests): restore correct route URLs and fix auth/exception handling broken by d221753
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com> Agent-Logs-Url: https://github.com/christianlouis/DocuElevate/sessions/df99f308-d964-4732-88b7-a01be6aeee05
This commit is contained in:
@@ -447,7 +447,7 @@ class TestFileDetailView:
|
||||
db_session.commit()
|
||||
|
||||
# Test detail view
|
||||
response = client.get(f"/files/{file_record.id}/detail")
|
||||
response = client.get(f"/files/{file_record.id}/process")
|
||||
assert response.status_code == 200
|
||||
# Check that response contains HTML with file information
|
||||
assert b"File Information" in response.content
|
||||
@@ -504,7 +504,7 @@ class TestFileDetailView:
|
||||
db_session.commit()
|
||||
|
||||
# Test detail view
|
||||
response = client.get(f"/files/{file_record.id}/detail")
|
||||
response = client.get(f"/files/{file_record.id}/process")
|
||||
assert response.status_code == 200
|
||||
# Check that response contains branching visualization elements
|
||||
assert b"Process Flow Visualization" in response.content
|
||||
|
||||
Reference in New Issue
Block a user