generated from john/python-template
This commit is contained in:
@@ -157,6 +157,21 @@ class TestJobModel:
|
||||
|
||||
assert job.status == JobStatus.TRANSCRIBED
|
||||
|
||||
def test_status_enums_match_v4_lifecycle_contract(self):
|
||||
assert [status.value for status in JobStatus] == [
|
||||
"queued",
|
||||
"processing",
|
||||
"transcribed",
|
||||
"partial_success",
|
||||
"failed",
|
||||
]
|
||||
assert [status.value for status in JobSourceStatus] == [
|
||||
"pending",
|
||||
"transcribed",
|
||||
"failed",
|
||||
"cancelled",
|
||||
]
|
||||
|
||||
|
||||
class TestSourceModel:
|
||||
def test_can_be_created_for_document(self, session):
|
||||
|
||||
Reference in New Issue
Block a user