diff --git a/python/src/deltachat/chat.py b/python/src/deltachat/chat.py index 7f75a79dc..16801873d 100644 --- a/python/src/deltachat/chat.py +++ b/python/src/deltachat/chat.py @@ -346,7 +346,7 @@ class Chat(object): return lib.dc_is_sending_locations_to_chat(self._dc_context, self.id) def is_archived(self): - return lib.dc_chat_get_archived(self._dc_chat) + return lib.dc_chat_get_archived(self._dc_chat) def enable_sending_locations(self, seconds): """enable sending locations for this chat. diff --git a/python/tests/test_account.py b/python/tests/test_account.py index 464104624..66070548b 100644 --- a/python/tests/test_account.py +++ b/python/tests/test_account.py @@ -161,11 +161,12 @@ class TestOfflineChat: assert d["type"] == chat.get_type() assert d["name"] == chat.get_name() assert d["archived"] == chat.is_archived() - #assert d["param"] == chat.param + # 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["profile_image"] == "" if chat.get_profile_image() is None else chat.get_profile_image() assert d["subtitle"] == chat.get_subtitle() assert 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_NEWGROUPDRAFT, "xyz %1$s") ac1._evlogger.consume_events()