mirror of https://github.com/caronc/apprise
Fix AppriseURLTester handling (#1412)
parent
3944821a32
commit
1d9e1e5f19
|
|
@ -296,10 +296,10 @@ class AppriseURLTester:
|
||||||
if _self:
|
if _self:
|
||||||
# Iterate over our expected entries inside of our
|
# Iterate over our expected entries inside of our
|
||||||
# object
|
# object
|
||||||
for key, val in self.items():
|
for key, val in _self.items():
|
||||||
# Test that our object has the desired key
|
# Test that our object has the desired key
|
||||||
assert hasattr(key, obj) is True
|
assert hasattr(obj, key) is True
|
||||||
assert getattr(key, obj) == val
|
assert getattr(obj, key) == val
|
||||||
|
|
||||||
try:
|
try:
|
||||||
self.__notify(url, obj, meta, asset)
|
self.__notify(url, obj, meta, asset)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue