From 53f99ebb10982015028d8905772e5e7c03d64fe9 Mon Sep 17 00:00:00 2001 From: Roman Chernykh Date: Mon, 28 Oct 2024 19:32:18 +0300 Subject: [PATCH] [OBJECT-10059] Fix list_mfa and get_session_token --- src/frostfs_testlib/s3/aws_cli_client.py | 2 +- src/frostfs_testlib/s3/boto3_client.py | 2 +- src/frostfs_testlib/s3/interfaces.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/frostfs_testlib/s3/aws_cli_client.py b/src/frostfs_testlib/s3/aws_cli_client.py index 01fb183..dd23c05 100644 --- a/src/frostfs_testlib/s3/aws_cli_client.py +++ b/src/frostfs_testlib/s3/aws_cli_client.py @@ -1319,7 +1319,7 @@ class AwsCliClient(S3ClientWrapper): return response - @reporter.step("Get session token to user") + @reporter.step("Get session token for user") def sts_get_session_token( self, duration_seconds: Optional[str] = None, serial_number: Optional[str] = None, token_code: Optional[str] = None ) -> dict: diff --git a/src/frostfs_testlib/s3/boto3_client.py b/src/frostfs_testlib/s3/boto3_client.py index 74e9ecd..771597e 100644 --- a/src/frostfs_testlib/s3/boto3_client.py +++ b/src/frostfs_testlib/s3/boto3_client.py @@ -982,7 +982,7 @@ class Boto3ClientWrapper(S3ClientWrapper): return response - @reporter.step("Get session token to user") + @reporter.step("Get session token for user") def sts_get_session_token( self, duration_seconds: Optional[str] = "", serial_number: Optional[str] = "", token_code: Optional[str] = "" ) -> dict: diff --git a/src/frostfs_testlib/s3/interfaces.py b/src/frostfs_testlib/s3/interfaces.py index b430b9e..964b121 100644 --- a/src/frostfs_testlib/s3/interfaces.py +++ b/src/frostfs_testlib/s3/interfaces.py @@ -590,4 +590,4 @@ class S3ClientWrapper(HumanReadableABC): def sts_get_session_token( self, duration_seconds: Optional[str] = None, serial_number: Optional[str] = None, token_code: Optional[str] = None ) -> dict: - """Get session token to user""" + """Get session token for user"""