This commit is contained in:
1 parent
dcd555d2da
commit
ac9baacc74
1 file changed
+1
-1
@@ -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