Fix Create container keyword bug

Signed-off-by: EliChin <elizaveta@nspcc.ru>
This commit is contained in:
EliChin 2021-07-20 14:57:30 +03:00 committed by EliChin
parent d1fdd17e9a
commit 692d6c4e20

View file

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