From 49ccd47e814ead80ce9b642506f3e467581e8a4e Mon Sep 17 00:00:00 2001 From: Dmitriy Zayakin Date: Fri, 21 Jul 2023 15:28:10 +0300 Subject: [PATCH] =?UTF-8?q?Add=20=D1=81opies=5Fnumber=20argument?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Dmitriy Zayakin --- src/frostfs_testlib/steps/cli/object.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/frostfs_testlib/steps/cli/object.py b/src/frostfs_testlib/steps/cli/object.py index d575522..9a63604 100644 --- a/src/frostfs_testlib/steps/cli/object.py +++ b/src/frostfs_testlib/steps/cli/object.py @@ -183,6 +183,7 @@ def put_object_to_random_node( shell: Shell, cluster: Cluster, bearer: Optional[str] = None, + copies_number: Optional[int] = None, attributes: Optional[dict] = None, xhdr: Optional[dict] = None, wallet_config: Optional[str] = None, @@ -201,6 +202,7 @@ def put_object_to_random_node( shell: executor for cli command cluster: cluster under test bearer: path to Bearer Token file, appends to `--bearer` key + copies_number: Number of copies of the object to store within the RPC call attributes: User attributes in form of Key1=Value1,Key2=Value2 cluster: cluster under test wallet_config: path to the wallet config @@ -221,6 +223,7 @@ def put_object_to_random_node( shell, endpoint, bearer, + copies_number, attributes, xhdr, wallet_config,