mirror of
https://github.com/caronc/apprise.git
synced 2025-08-10 00:38:02 +02:00
AppriseAsset refactored; added body_format default (#181)
This commit is contained in:
@ -666,9 +666,13 @@ def test_apprise_asset(tmpdir):
|
||||
API: AppriseAsset() object
|
||||
|
||||
"""
|
||||
a = AppriseAsset(theme=None)
|
||||
a = AppriseAsset(theme='light')
|
||||
# Default theme
|
||||
assert a.theme == 'default'
|
||||
assert a.theme == 'light'
|
||||
|
||||
# Invalid kw handling
|
||||
with pytest.raises(AttributeError):
|
||||
AppriseAsset(invalid_kw='value')
|
||||
|
||||
a = AppriseAsset(
|
||||
theme='dark',
|
||||
|
Reference in New Issue
Block a user