Skip to content

Commit

Permalink
Reuse successful AWS cli call mock
Browse files Browse the repository at this point in the history
  • Loading branch information
JCZuurmond committed Sep 18, 2024
1 parent 48ba619 commit 6106bca
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions tests/unit/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -698,17 +698,6 @@ def test_migrate_locations_azure_run_as_collection(workspace_clients, acc_client


def test_migrate_locations_aws(ws, caplog) -> None:
successful_return = """
{
"UserId": "uu@mail.com",
"Account": "1234",
"Arn": "arn:aws:sts::1234:assumed-role/AWSVIEW/uu@mail.com"
}
"""

def successful_call(_):
return 0, successful_return, ""

ctx = WorkspaceContext(ws).replace(
is_aws=True,
is_azure=False,
Expand Down

0 comments on commit 6106bca

Please sign in to comment.