feat(idm): govern delegation chains and timed escalation
Module Package Release / publish-packages (push) Successful in 11s
Module Package Release / publish-packages (push) Successful in 11s
This commit is contained in:
@@ -32,7 +32,7 @@ class IdmMigrationTests(unittest.TestCase):
|
||||
try:
|
||||
with engine.connect() as connection:
|
||||
self.assertIn(
|
||||
"b1c2d3e4f5a6",
|
||||
"c2d3e4f5a6b7",
|
||||
set(MigrationContext.configure(connection).get_current_heads()),
|
||||
)
|
||||
self.assertEqual(
|
||||
@@ -50,6 +50,20 @@ class IdmMigrationTests(unittest.TestCase):
|
||||
if name.startswith("idm_")
|
||||
},
|
||||
)
|
||||
change_columns = {
|
||||
item["name"]
|
||||
for item in inspect(connection).get_columns(
|
||||
"idm_function_assignment_changes"
|
||||
)
|
||||
}
|
||||
self.assertTrue(
|
||||
{
|
||||
"review_deadline_at",
|
||||
"escalated_at",
|
||||
"escalation_from_state",
|
||||
"escalation_target_function_id",
|
||||
}.issubset(change_columns)
|
||||
)
|
||||
finally:
|
||||
engine.dispose()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user