Fix Create container keyword bug
Signed-off-by: EliChin <elizaveta@nspcc.ru>
This commit is contained in:
parent
d1fdd17e9a
commit
692d6c4e20
1 changed files with 1 additions and 1 deletions
|
@ -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")
|
||||
|
||||
|
|
Loading…
Reference in a new issue