mirror of https://github.com/caronc/apprise
reporting improved when an instantiation test fails
parent
c41e7e6374
commit
ff6b3cc600
|
@ -187,12 +187,12 @@ class AppriseURLTester:
|
|||
if instance is None:
|
||||
# Expected None but didn't get it
|
||||
print('%s instantiated %s (but expected None)' % (
|
||||
url, str(obj)))
|
||||
url, type(obj)))
|
||||
assert False
|
||||
|
||||
if not isinstance(obj, instance):
|
||||
print('%s instantiated %s (but expected %s)' % (
|
||||
url, type(instance), str(obj)))
|
||||
url, type(instance), type(obj)))
|
||||
assert False
|
||||
|
||||
if isinstance(obj, NotifyBase):
|
||||
|
|
Loading…
Reference in New Issue