generated from john/python-template
@@ -37,6 +37,7 @@ async def seed_person_and_document():
|
||||
document_type_id=letter_type.id,
|
||||
archive_identifier="ZC-1924-001",
|
||||
document_date=date(1924, 7, 4),
|
||||
location_created="Salt Lake City, Utah",
|
||||
)
|
||||
session.add(doc)
|
||||
await session.flush()
|
||||
@@ -151,6 +152,7 @@ class TestDocumentsPageRendering:
|
||||
assert "Letter" in response.text
|
||||
assert "07-04-1924" in response.text
|
||||
assert "1924-07-04" not in response.text
|
||||
assert "google.com/maps/search/?api=1&query=Salt+Lake+City%2C+Utah" in response.text
|
||||
assert "PIPELINE JOBS" in response.text.upper()
|
||||
assert "Edit Document" in response.text
|
||||
assert "Back to Documents" in response.text
|
||||
|
||||
Reference in New Issue
Block a user