Skip to content

Commit db10d66

Browse files
committed
ref: format the test file
1 parent d67d4b1 commit db10d66

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

linode_api4/groups/monitor.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,6 @@ def clone_alert_definition(
321321
The clone request creates a new alert definition based on the source
322322
definition identified by ``id``.
323323
324-
API URL: POST /monitor/services/{service_type}/alert-definitions/{id}/clone
325324
API Documentation: TODO
326325
327326
:param service_type: Service type for the source alert definition

test/integration/models/monitor/test_monitor.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,9 @@ def test_integration_create_get_update_delete_alert_definition(
241241
description = "E2E alert created by SDK integration test"
242242

243243
# Pick an existing alert channel to attach to the definition; skip if none
244-
channels = list(client.monitor.alert_channels()) #TODO: create channel instead of relying on pre-existing one
244+
channels = list(
245+
client.monitor.alert_channels()
246+
) # TODO: create channel instead of relying on pre-existing one
245247
if not channels:
246248
pytest.skip(
247249
"No alert channels available on account for creating alert definitions"
@@ -356,7 +358,9 @@ def test_integration_clone_alert_definition(test_linode_client):
356358
"trigger_occurrences": 1,
357359
}
358360

359-
channels = list(client.monitor.alert_channels()) #TODO: create channel instead of relying on pre-existing one
361+
channels = list(
362+
client.monitor.alert_channels()
363+
) # TODO: create channel instead of relying on pre-existing one
360364
if not channels:
361365
pytest.skip(
362366
"No alert channels available on account for creating/cloning alert definitions"

0 commit comments

Comments
 (0)