mirror of
https://github.com/caronc/apprise.git
synced 2025-08-18 12:30:13 +02:00
Copywrite update & support boolean based asset values in YAML config (#301)
This commit is contained in:
@@ -703,6 +703,7 @@ asset:
|
||||
app_id: AppriseTest
|
||||
app_desc: Apprise Test Notifications
|
||||
app_url: http://nuxref.com
|
||||
async_mode: no
|
||||
|
||||
# Support setting empty values
|
||||
image_url_mask:
|
||||
@@ -738,6 +739,9 @@ urls:
|
||||
assert asset.app_desc == "Apprise Test Notifications"
|
||||
assert asset.app_url == "http://nuxref.com"
|
||||
|
||||
# Boolean types stay boolean
|
||||
assert asset.async_mode is False
|
||||
|
||||
# the theme was not updated and remains the same as it was
|
||||
assert asset.theme == AppriseAsset().theme
|
||||
|
||||
|
Reference in New Issue
Block a user