mirror of
https://github.com/caronc/apprise.git
synced 2024-11-22 08:04:02 +01:00
Mastodon minor code/typo cleanup (#832)
This commit is contained in:
parent
3bb8aedd87
commit
87e49ce68c
@ -253,7 +253,7 @@ class NotifyMastodon(NotifyBase):
|
||||
|
||||
self.token = validate_regex(token)
|
||||
if not self.token:
|
||||
msg = 'An invalid Twitter Consumer Key was specified.'
|
||||
msg = 'An invalid Mastodon Access Token was specified.'
|
||||
self.logger.warning(msg)
|
||||
raise TypeError(msg)
|
||||
|
||||
|
@ -146,12 +146,6 @@ apprise_url_tests = (
|
||||
# is set and tests that we gracfully handle them
|
||||
'test_requests_exceptions': True,
|
||||
}),
|
||||
('mastodons://access_token@hostname', {
|
||||
'instance': NotifyMastodon,
|
||||
# Throws a series of connection and transfer exceptions when this flag
|
||||
# is set and tests that we gracfully handle them
|
||||
'test_requests_exceptions': True,
|
||||
}),
|
||||
)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user