Remove all references to "uploads" page

This commit is contained in:
Jim Lancaster
2026-08-06 16:53:21 -05:00
parent 5090e238ff
commit fce7107863
8 changed files with 4 additions and 37 deletions
+2 -9
View File
@@ -1,11 +1,11 @@
"""Tests for upload and entry-point routes."""
"""Tests for homepage and entry-point routes."""
import pytest
@pytest.mark.integration
class TestPageRendering:
"""Verify upload-related routes return working pages."""
"""Verify entry-point routes return working pages."""
def test_root_redirects_to_ui(self, app_client):
"""GET / redirects to the UI mount point."""
@@ -42,10 +42,3 @@ class TestPageRendering:
assert "Edit Home Page" in response.text
assert "Homepage markdown" in response.text
def test_upload_page_renders_expected_controls(self, app_client):
"""GET /ui/upload redirects to the job-create flow."""
_, client = app_client
response = client.get("/ui/upload", follow_redirects=False)
assert response.status_code == 307
assert response.headers["location"] == "/jobs/new"