From 692d6c4e209da1eae32b8c061d992c7075373130 Mon Sep 17 00:00:00 2001 From: EliChin Date: Tue, 20 Jul 2021 14:57:30 +0300 Subject: [PATCH] Fix Create container keyword bug Signed-off-by: EliChin --- robot/resources/lib/neofs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/robot/resources/lib/neofs.py b/robot/resources/lib/neofs.py index 8cde8121..7a259cbd 100644 --- a/robot/resources/lib/neofs.py +++ b/robot/resources/lib/neofs.py @@ -296,7 +296,7 @@ def get_range(private_key: str, cid: str, oid: str, range_file: str, bearer: str raise Exception("command '{}' return with error (code {}): {}".format(e.cmd, e.returncode, e.output)) @keyword('Create container') -def create_container(private_key: str, basic_acl:str, rule:str, user_headers: str): +def create_container(private_key: str, basic_acl:str, rule:str, user_headers: str=None): if rule == "": logger.error("Cannot create container with empty placement rule")