mirror of
https://github.com/deltachat/deltachat-core.git
synced 2025-10-04 10:19:16 +02:00
add Account.get_infostring() to show low-level core info
This commit is contained in:
parent
6ed2b427e4
commit
ddc7ef7703
5 changed files with 20 additions and 1 deletions
|
@ -18,6 +18,11 @@ class TestOfflineAccount:
|
|||
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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue