mirror of https://github.com/caronc/apprise
add URL tests for power_automate flag and native URL support of alternative Power Automate URL.
parent
9343dfc3aa
commit
80d6cf2f59
|
@ -135,6 +135,15 @@ apprise_url_tests = (
|
|||
"privacy_url": "workflow://host:443/w...b/s...e/",
|
||||
},
|
||||
),
|
||||
(
|
||||
"workflows://host:443/workflow1e/signature/?power_automate=yes",
|
||||
{
|
||||
# support power_automate flag
|
||||
"instance": NotifyWorkflows,
|
||||
# Our expected power_automate flag (defaults to False)
|
||||
"self": {"power_automate": True},
|
||||
},
|
||||
),
|
||||
# Support native URLs
|
||||
(
|
||||
(
|
||||
|
@ -150,6 +159,22 @@ apprise_url_tests = (
|
|||
"privacy_url": "workflow://server.azure.com:443/6...4/K...u/",
|
||||
},
|
||||
),
|
||||
(
|
||||
(
|
||||
"https://server.azure.com:443/"
|
||||
"powerautomate/automations/direct/"
|
||||
"workflows/643e69f83c8944/"
|
||||
"triggers/manual/paths/invoke?"
|
||||
"api-version=2022-03-01-preview&sp=%2Ftriggers%2Fmanual%2Frun&"
|
||||
"sv=1.0&sig=KODuebWbDGYFr0z0eu"
|
||||
),
|
||||
{
|
||||
# Power-Automate alternative URL - All tokens provided - we're good
|
||||
"instance": NotifyWorkflows,
|
||||
# Our expected power_automate flag (defaults to False)
|
||||
"self": {"power_automate": True},
|
||||
},
|
||||
),
|
||||
(
|
||||
"workflow://host:443/workflow2/signature/",
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue