generated from john/python-template
V2 (new) sStep 4 complete. (untested, unreviewed, cross my fingers)
This commit is contained in:
@@ -48,8 +48,8 @@ class TestPageRendering:
|
||||
assert response.status_code == 200
|
||||
assert "Original Transcription" in response.text
|
||||
assert "detail.pdf" in response.text
|
||||
assert "Revision" in response.text
|
||||
assert "Revision" in response.text
|
||||
assert "Source revision" in response.text
|
||||
assert "Source revision" in response.text
|
||||
assert "hello" in response.text
|
||||
assert "original text" in response.text
|
||||
assert "Document preview" in response.text
|
||||
@@ -87,7 +87,7 @@ class TestPageRendering:
|
||||
assert response.status_code == 200
|
||||
assert "Revision Editor" in response.text
|
||||
assert "Create revision" in response.text
|
||||
assert "No revision exists for this source." in response.text
|
||||
assert "No source revision exists for this source." in response.text
|
||||
|
||||
def test_job_detail_page_shows_update_action_for_existing_revision(self, app_client, seed_job):
|
||||
"""GET /ui/jobs/{job_id} renders revision editor with update action when revision exists."""
|
||||
|
||||
Reference in New Issue
Block a user