Skip to content

Commit

Permalink
Fix some code
Browse files Browse the repository at this point in the history
Signed-off-by: Mahesh Shetty <[email protected]>
  • Loading branch information
Mahesh Shetty authored and Mahesh Shetty committed Sep 11, 2024
1 parent 9598d41 commit ca28925
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/functional/object/mcg/test_sts_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ def test_sts_assume_role(
new_bucket(bucket_1)
logger.info(f"Created bucket {bucket_1}")

# create another noobaa account
# create a noobaa account
user_1 = f"user-{uuid4().hex}"
user_email_1 = f"{user_1}@email"
nb_account_1 = nb_account_factory(
Expand All @@ -183,7 +183,7 @@ def test_sts_assume_role(
# new_bucket("test-bucket", nb_account_1.s3_client)
# logger.info("Created new bucket test-bucket")

# create noobaa account
# create another noobaa account
user_2 = f"user-{uuid4().hex}"
user_email_2 = f"{user_2}@email"
nb_account_2 = nb_account_factory(
Expand Down Expand Up @@ -238,7 +238,7 @@ def test_sts_assume_role(
awscli_pod_session,
role_name,
nb_user_access_key_id,
mcg_obj=mcg_obj_session,
signed_request_creds=signed_request_creds,
), "AssumeRole operation expected to fail but it seems to be succeeding even after several tries"

# perform io to validate the role assumption is no longer valid
Expand Down

0 comments on commit ca28925

Please sign in to comment.