[#307] added methods for testing MFA #307
Labels
No labels
P0
P1
P2
P3
good first issue
Infrastructure
blocked
bug
config
discussion
documentation
duplicate
enhancement
go
help wanted
internal
invalid
kludge
observability
perfomance
question
refactoring
wontfix
No milestone
No project
No assignees
5 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-testlib#307
Loading…
Reference in a new issue
No description provided.
Delete branch "r.chernykh/frostfs-testlib:feature--10059-MFA"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Signed-off-by: Roman Chernykh r.chernykh@yadro.com
[] create autotests for MFAto [#307] create autotests for MFA@ -1259,0 +1321,4 @@
return response
@reporter.step("Get session token to user")
for user
Kiriruso referenced this pull request2024-10-22 13:09:31 +00:00
New commits pushed, approval review dismissed automatically according to repository settings
0204d93986
toa53c57e168
a53c57e168
to92d3c504cb
[#307] create autotests for MFAto [#307] added methods for testing MFA92d3c504cb
to17a4d78190
@ -931,0 +982,4 @@
return response
@reporter.step("Get session token to user")
for user
@ -1443,0 +1455,4 @@
serial_number = response.get("VirtualMFADevice", {}).get("SerialNumber")
assert serial_number, f"Expected SerialNumber in response:\n{response}"
return serial_number, False
Why did you return tuple [serial_number, False]?
if the second argument is required than change function typing to tuple[str, bool]
@ -1443,0 +1506,4 @@
@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:
fix typing
dict
->tuple
17a4d78190
to0b45deac76
New commits pushed, approval review dismissed automatically according to repository settings
New commits pushed, approval review dismissed automatically according to repository settings
0b45deac76
to8206fbf72e
Now you have different signatures in boto3 and aws with
iam_create_virtual_mfa_device
methods-> tuple[str, bool]:
-> tuple
-> dict
22b4a435e8
to05380a8605
Please merge commits in one
Remove OBJECT from commit messages, it should be
[#<PR-number>] <message>
05380a8605
tocd525b2dd5
cd525b2dd5
toa77fdc3be0
a77fdc3be0
to2089578f94
New commits pushed, approval review dismissed automatically according to repository settings