forked from DGNum/uptime-kuma-api
add tests
This commit is contained in:
parent
6b5b54afe5
commit
a1a483efce
9 changed files with 320 additions and 1 deletions
|
@ -370,7 +370,7 @@ def _check_arguments_notification(kwargs):
|
|||
|
||||
def _check_arguments_proxy(kwargs):
|
||||
required_args = ["protocol", "host", "port"]
|
||||
if "auth" in kwargs:
|
||||
if kwargs.get("auth"):
|
||||
required_args.extend(["username", "password"])
|
||||
_check_missing_arguments(required_args, kwargs, params_map_proxy)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue