add tests

This commit is contained in:
lucasheld 2022-08-02 23:47:56 +02:00
parent 6b5b54afe5
commit a1a483efce
9 changed files with 320 additions and 1 deletions

View file

@ -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)