generated from john/python-template
UI updates, changes sync'd to UI docs
This commit is contained in:
@@ -15,13 +15,13 @@ class TestPageRendering:
|
||||
assert response.status_code == 307
|
||||
assert response.headers["location"] == "/ui"
|
||||
|
||||
def test_ui_redirects_to_upload(self, app_client):
|
||||
"""GET /ui redirects to the jobs page."""
|
||||
def test_ui_redirects_to_documents(self, app_client):
|
||||
"""GET /ui redirects to the documents page."""
|
||||
_, client = app_client
|
||||
response = client.get("/ui", follow_redirects=False)
|
||||
|
||||
assert response.status_code == 307
|
||||
assert response.headers["location"] == "/ui/jobs"
|
||||
assert response.headers["location"] == "/ui/documents"
|
||||
|
||||
def test_upload_page_renders_expected_controls(self, app_client):
|
||||
"""GET /ui/upload redirects to the job-create flow."""
|
||||
|
||||
Reference in New Issue
Block a user