mirror of
https://github.com/caronc/apprise.git
synced 2025-08-09 08:25:07 +02:00
Nextcloud versioning support added (#432)
This commit is contained in:
@ -2461,6 +2461,18 @@ TEST_URLS = (
|
||||
# No user specified
|
||||
'instance': TypeError,
|
||||
}),
|
||||
('ncloud://user@localhost?to=user1,user2&version=invalid', {
|
||||
# An invalid version was specified
|
||||
'instance': TypeError,
|
||||
}),
|
||||
('ncloud://user@localhost?to=user1,user2&version=0', {
|
||||
# An invalid version was specified
|
||||
'instance': TypeError,
|
||||
}),
|
||||
('ncloud://user@localhost?to=user1,user2&version=-23', {
|
||||
# An invalid version was specified
|
||||
'instance': TypeError,
|
||||
}),
|
||||
('ncloud://localhost/admin', {
|
||||
'instance': plugins.NotifyNextcloud,
|
||||
}),
|
||||
@ -2470,6 +2482,12 @@ TEST_URLS = (
|
||||
('ncloud://user@localhost?to=user1,user2', {
|
||||
'instance': plugins.NotifyNextcloud,
|
||||
}),
|
||||
('ncloud://user@localhost?to=user1,user2&version=20', {
|
||||
'instance': plugins.NotifyNextcloud,
|
||||
}),
|
||||
('ncloud://user@localhost?to=user1,user2&version=21', {
|
||||
'instance': plugins.NotifyNextcloud,
|
||||
}),
|
||||
('ncloud://user:pass@localhost/user1/user2', {
|
||||
'instance': plugins.NotifyNextcloud,
|
||||
|
||||
|
Reference in New Issue
Block a user