Mastodon minor code/typo cleanup (#832)

This commit is contained in:
Chris Caron 2023-02-18 21:36:58 -05:00 committed by GitHub
parent 3bb8aedd87
commit 87e49ce68c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 7 deletions

View File

@ -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)

View File

@ -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,
}),
)