diff --git a/python/src/deltachat/account.py b/python/src/deltachat/account.py index 8364c2246..e5f6b480f 100644 --- a/python/src/deltachat/account.py +++ b/python/src/deltachat/account.py @@ -173,11 +173,6 @@ class Account(object): raise ValueError("no flags set") lib.dc_empty_server(self._dc_context, flags) - def get_infostring(self): - """ return info of the configured account. """ - self.check_is_configured() - return from_dc_charpointer(lib.dc_get_info(self._dc_context)) - def get_latest_backupfile(self, backupdir): """ return the latest backup file in a given directory. """ diff --git a/python/tests/test_account.py b/python/tests/test_account.py index 9cf34583e..6e9d1f6ff 100644 --- a/python/tests/test_account.py +++ b/python/tests/test_account.py @@ -65,11 +65,6 @@ class TestOfflineAccountBasic: with pytest.raises(ValueError): ac1.get_self_contact() - def test_get_info(self, acfactory): - ac1 = acfactory.get_configured_offline_account() - out = ac1.get_infostring() - assert "number_of_chats=0" in out - def test_selfcontact_configured(self, acfactory): ac1 = acfactory.get_configured_offline_account() me = ac1.get_self_contact()