Skip to content

Commit

Permalink
Merge branch 'webhooks-auth' of https://github.com/groundlight/python…
Browse files Browse the repository at this point in the history
…-sdk into webhooks-auth
  • Loading branch information
f-wright committed Feb 25, 2025
2 parents 3b4e9c3 + 57ef093 commit 1f593c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/test_actions.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ def test_create_alert_webhook_action_with_invalid_payload_template_headers(gl_ex
det = gl_experimental.get_or_create_detector(name, "test_query")
condition = gl_experimental.make_condition("CHANGED_TO", {"label": "YES"})
payload_template = gl_experimental.make_payload_template(
'{"template": "This is a fine template"}', headers="bad headers" # type: ignore
'{"template": "This is a fine template"}', headers="bad headers" # type: ignore
)
webhook_action = gl_experimental.make_webhook_action(
url="https://groundlight.ai", include_image=True, payload_template=payload_template
Expand Down

0 comments on commit 1f593c5

Please sign in to comment.