From 34347ccaf5df7cca9c8f75ea1b88a031ed6cbc81 Mon Sep 17 00:00:00 2001 From: holger krekel Date: Fri, 21 Feb 2020 18:12:46 +0100 Subject: [PATCH] strike get_infostring --- python/src/deltachat/account.py | 5 ----- python/tests/test_account.py | 5 ----- 2 files changed, 10 deletions(-) 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()