fixup this PR with tests, and returning None from get_filemime

This commit is contained in:
holger krekel
2019-09-26 00:33:58 +02:00
parent 53b5cbc12a
commit 02b73207f9
3 changed files with 16 additions and 9 deletions

View File

@@ -93,8 +93,9 @@ class TestOfflineContact:
ac1 = acfactory.get_configured_offline_account()
contact1 = ac1.create_contact(email="some1@example.com", name="some1")
chat = ac1.create_chat_by_contact(contact1)
chat.send_text("one messae")
msg = chat.send_text("one messae")
assert not ac1.delete_contact(contact1)
assert not msg.filemime
class TestOfflineChat: