V6 Post migration cleanup
Quality Gate / gate (push) Failing after 50s

This commit is contained in:
Jim Lancaster
2026-08-26 11:08:10 -05:00
parent c85cc6be20
commit c2ed98c16d
6 changed files with 112 additions and 40 deletions
+5
View File
@@ -115,6 +115,8 @@ class TestDocumentModel:
assert isinstance(document.id, UUID)
assert document.created_at is not None
assert document.updated_at is not None
assert document.created_at.tzinfo is None
assert document.updated_at.tzinfo is None
def test_can_reference_document_type_registry(self, session):
document_type = _persist_document_type(session, label="Record")
@@ -140,6 +142,8 @@ class TestJobModel:
assert job.retry_count == 0
assert job.date_created is not None
assert job.date_updated is not None
assert job.date_created.tzinfo is None
assert job.date_updated.tzinfo is None
def test_transitions_to_transcribed(self, session):
document = _persist_document(session)
@@ -183,6 +187,7 @@ class TestSourceModel:
assert fetched.document_id == document.id
assert fetched.page_number == 1
assert fetched.date_uploaded is not None
assert fetched.date_uploaded.tzinfo is None
def test_revised_text_is_supported(self, session):
document = _persist_document(session)