1
0
Fork 0
mirror of https://github.com/deltachat/deltachat-core.git synced 2025-10-04 10:19:16 +02:00

add msg.basename and a few assertions

This commit is contained in:
holger krekel 2018-10-07 00:13:34 +02:00
parent 5c3e41fcb5
commit d18fc8ebf9
4 changed files with 12 additions and 2 deletions

View file

@ -146,6 +146,7 @@ class TestOfflineAccount:
assert msg.type.name == "file"
assert msg.type.is_file()
assert os.path.exists(msg.filename)
assert msg.filename.endswith(msg.basename)
assert msg.filemime == typeout
def test_chat_message_distinctions(self, acfactory):