File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ def test_get_alert_definition(self):
6161 alert_id = 12345
6262 url = f"/monitor/services/{ service_type } /alert-definitions/{ alert_id } "
6363 with self .mock_get (url ) as mock_get :
64- alert = self .client .monitor .alert_definitions (
64+ alert = self .client .monitor .get_alert_definitions (
6565 service_type = service_type , alert_id = alert_id
6666 )
6767
@@ -82,7 +82,7 @@ def test_get_alert_definition(self):
8282 def test_alert_definitions_requires_service_type_when_id_given (self ):
8383 # alert_id without service_type should raise ValueError
8484 try :
85- self .client .monitor .alert_definitions (alert_id = 12345 )
85+ self .client .monitor .get_alert_definitions (alert_id = 12345 )
8686 raised = False
8787 except ValueError :
8888 raised = True
You can’t perform that action at this time.
0 commit comments