This commit is contained in:
@@ -120,6 +120,6 @@ def test_screenshot(mock_screenshot_class):
|
||||
message, attributes, attachments = elog.read(msg_id)
|
||||
|
||||
assert test_msg in message
|
||||
assert filename in [os.path.basename(a) for a in attachments]
|
||||
assert any(a.endswith(filename) for a in [os.path.basename(att) for att in attachments])
|
||||
|
||||
os.remove(fake_path)
|
||||
Reference in New Issue
Block a user