]> git.apps.os.sepia.ceph.com Git - s3-tests.git/commit
sns: clear region_name for s3 clients 619/head
authorCasey Bodley <cbodley@redhat.com>
Fri, 14 Feb 2025 20:31:32 +0000 (15:31 -0500)
committerCasey Bodley <cbodley@redhat.com>
Fri, 14 Feb 2025 20:31:34 +0000 (15:31 -0500)
commit48068f427dfbac7bf4f9286cee26e9d19ac43e6e
treecdf9cfab0cf30167935142f5294fe95f7341edd9
parenta40c28fcc35a363f3320de9ce6586c4ca7fe09ef
sns: clear region_name for s3 clients

work around sns failures due to default region_name='':

> ERROR s3tests_boto3/functional/test_sns.py::test_account_topic_publish - botocore.exceptions.EndpointResolutionError: Invalid region: region was not a valid DNS name.
> ERROR s3tests_boto3/functional/test_sns.py::test_cross_account_topic_publish - botocore.exceptions.EndpointResolutionError: Invalid region: region was not a valid DNS name.

Signed-off-by: Casey Bodley <cbodley@redhat.com>
s3tests_boto3/functional/__init__.py
s3tests_boto3/functional/test_sns.py