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:
parent
5c3e41fcb5
commit
d18fc8ebf9
4 changed files with 12 additions and 2 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue