Skip to content

Commit

Permalink
test(organizations): update test case
Browse files Browse the repository at this point in the history
  • Loading branch information
frgfm committed Oct 27, 2024
1 parent 0544343 commit 92ddbbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tests/services/test_telegram.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def test_telegram_client():
assert not client.is_enabled

client = TelegramClient(settings.TELEGRAM_TOKEN)
assert client.is_enabled
assert client.is_enabled == isinstance(settings.TELEGRAM_TOKEN, str)

assert not client.has_channel_access("invalid-channel-id")
assert client.notify("invalid-channel-id", "test").status_code == 404

0 comments on commit 92ddbbc

Please sign in to comment.