diff --git a/s3tests/functional/test_s3_website.py b/s3tests/functional/test_s3_website.py index 574dbd1..f55c478 100644 --- a/s3tests/functional/test_s3_website.py +++ b/s3tests/functional/test_s3_website.py @@ -54,7 +54,7 @@ def check_can_test_website(): elif e.status == 405 and e.reason == 'Method Not Allowed' and e.error_code == 'MethodNotAllowed': # rgw_enable_static_website is false CAN_WEBSITE = False - elif e.status == 403 and e.reason == 'SignatureDoesNotMatch': + elif e.status == 403 and e.reason == 'SignatureDoesNotMatch' and e.error_code == 'Forbidden': # This is older versions that do not support the website code CAN_WEBSITE = False else: