|
|
@ -187,12 +187,12 @@ class AppriseURLTester:
|
|
|
|
if instance is None:
|
|
|
|
if instance is None:
|
|
|
|
# Expected None but didn't get it
|
|
|
|
# Expected None but didn't get it
|
|
|
|
print('%s instantiated %s (but expected None)' % (
|
|
|
|
print('%s instantiated %s (but expected None)' % (
|
|
|
|
url, str(obj)))
|
|
|
|
url, type(obj)))
|
|
|
|
assert False
|
|
|
|
assert False
|
|
|
|
|
|
|
|
|
|
|
|
if not isinstance(obj, instance):
|
|
|
|
if not isinstance(obj, instance):
|
|
|
|
print('%s instantiated %s (but expected %s)' % (
|
|
|
|
print('%s instantiated %s (but expected %s)' % (
|
|
|
|
url, type(instance), str(obj)))
|
|
|
|
url, type(instance), type(obj)))
|
|
|
|
assert False
|
|
|
|
assert False
|
|
|
|
|
|
|
|
|
|
|
|
if isinstance(obj, NotifyBase):
|
|
|
|
if isinstance(obj, NotifyBase):
|
|
|
|