generated from john/python-template
V4.4 Complete
This commit is contained in:
@@ -80,7 +80,7 @@ class TestSourcesPageRendering:
|
||||
_, client = app_client
|
||||
|
||||
async with session_scope() as session:
|
||||
document = Document(name="Source Document", document_type="letter")
|
||||
document = Document(name="Source Document")
|
||||
session.add(document)
|
||||
await session.flush()
|
||||
session.add(
|
||||
@@ -108,8 +108,8 @@ class TestSourcesPageRendering:
|
||||
_, client = app_client
|
||||
|
||||
async with session_scope() as session:
|
||||
target = Document(name="Target", document_type="letter")
|
||||
other = Document(name="Other", document_type="record")
|
||||
target = Document(name="Target")
|
||||
other = Document(name="Other")
|
||||
session.add_all([target, other])
|
||||
await session.flush()
|
||||
|
||||
@@ -274,7 +274,7 @@ class TestSourcesPageRendering:
|
||||
_, client = app_client
|
||||
|
||||
async with session_scope() as session:
|
||||
document = Document(name="Unlinked Source Doc", document_type="memo")
|
||||
document = Document(name="Unlinked Source Doc")
|
||||
session.add(document)
|
||||
await session.flush()
|
||||
source = Source(
|
||||
|
||||
Reference in New Issue
Block a user