-
-
Notifications
You must be signed in to change notification settings - Fork 440
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
2 changed files
with
58 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -117,6 +117,30 @@ | |
# active level | ||
'instance': NotifyBark, | ||
}), | ||
('bark://192.168.0.6:8081/device_key/?level=critical', { | ||
# critical level | ||
'instance': NotifyBark, | ||
}), | ||
('bark://192.168.0.6:8081/device_key/?level=critical&volume=10', { | ||
# critical level with volume 10 | ||
'instance': NotifyBark, | ||
}), | ||
('bark://192.168.0.6:8081/device_key/?level=critical&volume=invalid', { | ||
# critical level with invalid volume | ||
'instance': NotifyBark, | ||
}), | ||
('bark://192.168.0.6:8081/device_key/?level=critical&volume=11', { | ||
# volume > 10 | ||
'instance': NotifyBark, | ||
}), | ||
('bark://192.168.0.6:8081/device_key/?level=critical&volume=0', { | ||
# volume < 1 | ||
'instance': NotifyBark, | ||
}), | ||
('bark://192.168.0.6:8081/device_key/?level=critical&volume=', { | ||
# volume None | ||
'instance': NotifyBark, | ||
}), | ||
('bark://user:[email protected]:8086/device_key/device_key2/', { | ||
# Everything is okay | ||
'instance': NotifyBark, | ||
|
@@ -150,3 +174,4 @@ def test_plugin_bark_urls(): | |
|
||
# Run our general tests | ||
AppriseURLTester(tests=apprise_url_tests).run_all() | ||
|