Skip to content

Commit

Permalink
fix: tests
Browse files Browse the repository at this point in the history
  • Loading branch information
MrCloudSec committed Jan 21, 2025
1 parent caa7de0 commit b0c3cff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/providers/aws/aws_provider_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ def test_aws_provider_with_session_credentials(self):
@mock_aws
def test_aws_provider_organizations_delegated_administrator(self):
organizations_client = client("organizations", region_name=AWS_REGION_EU_WEST_1)
organization = organizations_client.describe_organization()["Organization"]
organization = organizations_client.create_organization()["Organization"]
organizations_client.tag_resource(
ResourceId=AWS_ACCOUNT_NUMBER,
Tags=[
Expand Down Expand Up @@ -404,7 +404,7 @@ def test_aws_provider_organizations_with_role(self):
PolicyArn=policy["Arn"],
)
organizations_client = client("organizations", region_name=AWS_REGION_EU_WEST_1)
organization = organizations_client.describe_organization()["Organization"]
organization = organizations_client.create_organization()["Organization"]
organizations_client.tag_resource(
ResourceId=AWS_ACCOUNT_NUMBER,
Tags=[
Expand Down

0 comments on commit b0c3cff

Please sign in to comment.