Skip to content

Commit

Permalink
forgot to add back one test
Browse files Browse the repository at this point in the history
  • Loading branch information
harshil21 committed May 10, 2024
1 parent c67c213 commit 6858efa
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/test_chat.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,15 @@ def test_de_json_localization(self, bot, raw_bot, tz_bot):
assert chat_bot_raw.emoji_status_expiration_date.tzinfo == UTC
assert emoji_expire_offset_tz == emoji_expire_offset

def test_always_tuples_attributes(self):
chat = Chat(
id=123,
title="title",
type=Chat.PRIVATE,
)
assert isinstance(chat.active_usernames, tuple)
assert chat.active_usernames == ()

def test_to_dict(self, chat):
chat_dict = chat.to_dict()

Expand Down

0 comments on commit 6858efa

Please sign in to comment.