Merge "Skip S3 versioning test when versioning is not enabled"

This commit is contained in:
Zuul
2023年02月25日 07:27:09 +00:00
committed by Gerrit Code Review

View File

@@ -208,6 +208,9 @@ class TestS3ApiXxeInjection(S3ApiBaseBoto3):
self.assertEqual(204, response_metadata.get('HTTPStatusCode'))
def test_put_bucket_versioning(self):
if 'object_versioning' not in tf.cluster_info:
raise tf.SkipTest('S3 versioning requires that Swift object '
'versioning be enabled')
self._create_bucket()
url = self._presign_url(
Reference in New Issue
openstack/swift
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.

The note is not visible to the blocked user.