mirror of
https://github.com/chatmail/core.git
synced 2026-04-17 21:46:35 +03:00
python: update for latest ruff 0.0.255
This commit is contained in:
@@ -295,8 +295,8 @@ class TestOfflineChat:
|
||||
assert d["archived"] == chat.is_archived()
|
||||
# assert d["param"] == chat.param
|
||||
assert d["color"] == chat.get_color()
|
||||
assert d["profile_image"] == "" if chat.get_profile_image() is None else chat.get_profile_image()
|
||||
assert d["draft"] == "" if chat.get_draft() is None else chat.get_draft()
|
||||
assert not d["profile_image"] if chat.get_profile_image() is None else chat.get_profile_image()
|
||||
assert not d["draft"] if chat.get_draft() is None else chat.get_draft()
|
||||
|
||||
def test_group_chat_creation_with_translation(self, ac1):
|
||||
ac1.set_stock_translation(const.DC_STR_GROUP_NAME_CHANGED_BY_YOU, "abc %1$s xyz %2$s")
|
||||
|
||||
Reference in New Issue
Block a user