test coverage added

This commit is contained in:
Chris Caron
2021-02-17 17:44:10 -05:00
parent 986a19d542
commit 62dd5bab5c
2 changed files with 35 additions and 1 deletions

View File

@ -952,6 +952,10 @@ TEST_URLS = (
# Our expected url(privacy=True) startswith() response:
'privacy_url': 'gotify://hostname/a/path/ending/in/a/slash/u...u/',
}),
# Markdown test
('gotify://hostname/%s?format=markdown' % ('t' * 16), {
'instance': plugins.NotifyGotify,
}),
# Provide a hostname, path, and token
('gotify://hostname/a/path/not/ending/in/a/slash/%s' % ('v' * 16), {
'instance': plugins.NotifyGotify,