feat(product-suite): add direct job state machine
This commit is contained in:
@@ -76,8 +76,20 @@ class ImageStudioTests(TempDirMixin, unittest.TestCase):
|
||||
"generation_round_key",
|
||||
"generation_slot_index",
|
||||
"reference_asset_ids",
|
||||
"run_session_id",
|
||||
}.issubset(jobs_columns)
|
||||
)
|
||||
assets_columns = {
|
||||
row["name"]
|
||||
for row in conn.execute("PRAGMA table_info(image_studio_assets)").fetchall()
|
||||
}
|
||||
self.assertTrue(
|
||||
{
|
||||
"requested_output_size",
|
||||
"rendered_width",
|
||||
"rendered_height",
|
||||
}.issubset(assets_columns)
|
||||
)
|
||||
indexes = {
|
||||
row["name"]
|
||||
for row in conn.execute(
|
||||
|
||||
Reference in New Issue
Block a user