Skip to content

Commit bb157b7

Browse files
committed
added update use case to integration test
1 parent cabde89 commit bb157b7

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

test/integration/models/monitor/test_monitor.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,10 @@ def test_integration_create_get_update_delete_alert_definition(
186186
# transient errors while polling; continue until timeout
187187
pass
188188

189+
update_alert= client.load(AlertDefinition, created.id, service_type)
190+
update_alert.label = f"{label}-updated"
191+
update_alert.save()
192+
189193
finally:
190194
if created:
191195
# Best-effort cleanup; allow transient errors.

0 commit comments

Comments
 (0)