Skip to content

Commit

Permalink
remove slack channel parameter from tests
Browse files Browse the repository at this point in the history
Signed-off-by: Yuyutsu Rai <[email protected]>
  • Loading branch information
Yuyuutsu committed Jan 8, 2025
1 parent 9bbdb9b commit 7b2a7c9
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions tests/test_slack_notification.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ def test_post_slack_notification_with_ok_response_raises_no_error(mocker):

post_slack_notification(
slack_auth_token="token",
slack_channel="test-alerts",
slack_channel_id="C12345",
content="slack message",
file_type="type",
Expand All @@ -102,7 +101,6 @@ def test_post_slack_notification_with_no_content_and_ok_response_raises_no_error
)
post_slack_notification(
slack_auth_token="token",
slack_channel="test-alerts",
slack_channel_id="C12345",
file_type="type",
title="title",
Expand All @@ -120,7 +118,6 @@ def test_post_slack_notification_with_bad_response_raises_error(mocker):
with pytest.raises(SystemExit):
post_slack_notification(
slack_auth_token="token",
slack_channel="test-alerts",
slack_channel_id="C12345",
content="slack message",
file_type="type",
Expand All @@ -134,7 +131,6 @@ def test_post_slack_notification_with_api_error_exits(mocker):
with pytest.raises(SystemExit):
post_slack_notification(
slack_auth_token="token",
slack_channel="test-alerts",
slack_channel_id="C12345",
content="slack message",
file_type="type",
Expand Down

0 comments on commit 7b2a7c9

Please sign in to comment.