Skip to content

Commit 85dce87

Browse files
committed
corrected unit test assert statement
1 parent 2e42af9 commit 85dce87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/unit/groups/monitor_api_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ def test_create_alert_definition(self):
107107
assert mock_post.call_url == url
108108
# payload should include the provided fields
109109
assert mock_post.call_data["label"] == "Created Alert"
110-
assert mock_post.call_data["severity"] == "warning"
110+
assert mock_post.call_data["severity"] == 1
111111
assert "channel_ids" in mock_post.call_data
112112

113113
assert isinstance(alert, AlertDefinition)

0 commit comments

Comments
 (0)