Skip to content

Commit

Permalink
test: disable aws s3 test when root domain is not set
Browse files Browse the repository at this point in the history
  • Loading branch information
lpm0073 committed Jan 28, 2024
1 parent 8ad8428 commit 99d8149
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,11 @@ def test_function_calling(self):

def test_aws_s3_bucket(self):
"""Test aws_s3_bucket."""

# If the aws_s3_bucket_name is example.com, then we don't need to test it.
if settings.aws_apigateway_root_domain == "example.com":
return

aws_s3_bucket_name = settings.aws_s3_bucket_name
s3 = settings.aws_s3_client

Expand Down

0 comments on commit 99d8149

Please sign in to comment.