mirror of
https://github.com/caronc/apprise.git
synced 2025-08-15 10:52:36 +02:00
Vapid/WebPush Support (#1323)
This commit is contained in:
@ -248,6 +248,12 @@ def test_attach_file():
|
||||
|
||||
# Test hosted configuration and that we can't add a valid file
|
||||
aa = AppriseAttachment(location=ContentLocation.HOSTED)
|
||||
# No entries defined yet
|
||||
assert bool(aa) is False
|
||||
assert aa.sync() is False
|
||||
|
||||
# Entry count does not impact sync if told to act that way
|
||||
assert aa.sync(abort_if_empty=False) is True
|
||||
assert aa.add(path) is False
|
||||
|
||||
response = AppriseAttachment.instantiate(path)
|
||||
|
Reference in New Issue
Block a user