Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Commit

Permalink
skip e2e tests that require slack auth
Browse files Browse the repository at this point in the history
  • Loading branch information
aplybeah committed Jun 25, 2024
1 parent 7c415ee commit b4db830
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions analytics/tests/integrations/test_slack.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ def mock_slackbot() -> SlackBot:
"""Create a SlackBot instance for testing."""
return SlackBot(client=client)


@pytest.mark.skip(reason="requires Slack token")
def test_fetch_slack_channels(slackbot: SlackBot):
"""The fetch_slack_channels() function should execute correctly."""
result = slackbot.fetch_slack_channel_info(channel_id=settings.reporting_channel_id)
assert result["ok"] is True
assert result["channel"]["name"] == "z_bot-analytics-ci-test"


@pytest.mark.skip(reason="requires Slack token")
def test_upload_files_to_slack_channel(slackbot: SlackBot):
"""The upload_files_to_slack_channel() function should execute correctly."""
# setup - create test files to upload
Expand Down

0 comments on commit b4db830

Please sign in to comment.