mirror of
https://github.com/caronc/apprise-api.git
synced 2025-08-18 10:29:39 +02:00
Fixed Bad Attachment Web/API Error; refs #168
This commit is contained in:
@@ -283,6 +283,10 @@ class AttachmentTests(SimpleTestCase):
|
||||
with self.assertRaises(ValueError):
|
||||
parse_attachments(attachment_payload, {})
|
||||
|
||||
# We allow empty entries, this is okay; there is just nothing
|
||||
# returned at the end of the day
|
||||
assert parse_attachments({''}, {}) == []
|
||||
|
||||
# We can't parse entries that are not base64 but specified as
|
||||
# though they are
|
||||
attachment_payload = {
|
||||
|
Reference in New Issue
Block a user