forked from TrueCloudLab/s3-tests
website: include Forbidden in 403 test per 802c8a3ee9 (commitcomment-15776266)
.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
This commit is contained in:
parent
6ce34d3c6a
commit
f028e1e926
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue