rgw: remove more fails_on_dho tags

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
This commit is contained in:
Yehuda Sadeh 2013-01-18 10:35:31 -08:00
parent 509715810d
commit efa352711b

View file

@ -788,7 +788,6 @@ def test_object_create_unreadable():
key.set_contents_from_string('bar') key.set_contents_from_string('bar')
@attr('fails_on_dho')
@attr(resource='object') @attr(resource='object')
@attr(method='post') @attr(method='post')
@attr(operation='delete multiple objects') @attr(operation='delete multiple objects')
@ -1039,7 +1038,6 @@ def test_object_write_file():
@attr(method='post') @attr(method='post')
@attr(operation='anonymous browser based upload via POST request') @attr(operation='anonymous browser based upload via POST request')
@attr(assertion='succeeds and returns written data') @attr(assertion='succeeds and returns written data')
@attr('fails_on_dho')
def test_post_object_anonymous_request(): def test_post_object_anonymous_request():
bucket = get_new_bucket() bucket = get_new_bucket()
bucket.set_acl('public-read-write') bucket.set_acl('public-read-write')
@ -1062,7 +1060,6 @@ def test_post_object_anonymous_request():
@attr(method='post') @attr(method='post')
@attr(operation='authenticated browser based upload via POST request') @attr(operation='authenticated browser based upload via POST request')
@attr(assertion='succeeds and returns written data') @attr(assertion='succeeds and returns written data')
@attr('fails_on_dho')
def test_post_object_authenticated_request(): def test_post_object_authenticated_request():
bucket = get_new_bucket() bucket = get_new_bucket()
conn = s3.main conn = s3.main
@ -1103,7 +1100,6 @@ def test_post_object_authenticated_request():
@attr(method='post') @attr(method='post')
@attr(operation='anonymous browser based upload via POST request') @attr(operation='anonymous browser based upload via POST request')
@attr(assertion='succeeds with status 201') @attr(assertion='succeeds with status 201')
@attr('fails_on_dho')
def test_post_object_set_success_code(): def test_post_object_set_success_code():
bucket = get_new_bucket() bucket = get_new_bucket()
bucket.set_acl('public-read-write') bucket.set_acl('public-read-write')
@ -1126,7 +1122,6 @@ def test_post_object_set_success_code():
@attr(method='post') @attr(method='post')
@attr(operation='anonymous browser based upload via POST request') @attr(operation='anonymous browser based upload via POST request')
@attr(assertion='succeeds with status 204') @attr(assertion='succeeds with status 204')
@attr('fails_on_dho')
def test_post_object_set_invalid_success_code(): def test_post_object_set_invalid_success_code():
bucket = get_new_bucket() bucket = get_new_bucket()
bucket.set_acl('public-read-write') bucket.set_acl('public-read-write')
@ -1148,7 +1143,6 @@ def test_post_object_set_invalid_success_code():
@attr(method='post') @attr(method='post')
@attr(operation='authenticated browser based upload via POST request') @attr(operation='authenticated browser based upload via POST request')
@attr(assertion='succeeds and returns written data') @attr(assertion='succeeds and returns written data')
@attr('fails_on_dho')
def test_post_object_upload_larger_than_chunk(): def test_post_object_upload_larger_than_chunk():
bucket = get_new_bucket() bucket = get_new_bucket()
conn = s3.main conn = s3.main
@ -1191,7 +1185,6 @@ def test_post_object_upload_larger_than_chunk():
@attr(method='post') @attr(method='post')
@attr(operation='authenticated browser based upload via POST request') @attr(operation='authenticated browser based upload via POST request')
@attr(assertion='succeeds and returns written data') @attr(assertion='succeeds and returns written data')
@attr('fails_on_dho')
def test_post_object_set_key_from_filename(): def test_post_object_set_key_from_filename():
bucket = get_new_bucket() bucket = get_new_bucket()
conn = s3.main conn = s3.main
@ -1232,7 +1225,6 @@ def test_post_object_set_key_from_filename():
@attr(method='post') @attr(method='post')
@attr(operation='authenticated browser based upload via POST request') @attr(operation='authenticated browser based upload via POST request')
@attr(assertion='succeeds with status 204') @attr(assertion='succeeds with status 204')
@attr('fails_on_dho')
def test_post_object_ignored_header(): def test_post_object_ignored_header():
bucket = get_new_bucket() bucket = get_new_bucket()
conn = s3.main conn = s3.main
@ -1270,7 +1262,6 @@ def test_post_object_ignored_header():
@attr(method='post') @attr(method='post')
@attr(operation='authenticated browser based upload via POST request') @attr(operation='authenticated browser based upload via POST request')
@attr(assertion='succeeds with status 204') @attr(assertion='succeeds with status 204')
@attr('fails_on_dho')
def test_post_object_case_insensitive_condition_fields(): def test_post_object_case_insensitive_condition_fields():
bucket = get_new_bucket() bucket = get_new_bucket()
conn = s3.main conn = s3.main
@ -1308,7 +1299,6 @@ def test_post_object_case_insensitive_condition_fields():
@attr(method='post') @attr(method='post')
@attr(operation='authenticated browser based upload via POST request') @attr(operation='authenticated browser based upload via POST request')
@attr(assertion='succeeds with escaped leading $ and returns written data') @attr(assertion='succeeds with escaped leading $ and returns written data')
@attr('fails_on_dho')
def test_post_object_escaped_field_values(): def test_post_object_escaped_field_values():
bucket = get_new_bucket() bucket = get_new_bucket()
conn = s3.main conn = s3.main
@ -1349,7 +1339,6 @@ def test_post_object_escaped_field_values():
@attr(method='post') @attr(method='post')
@attr(operation='authenticated browser based upload via POST request') @attr(operation='authenticated browser based upload via POST request')
@attr(assertion='succeeds and returns redirect url') @attr(assertion='succeeds and returns redirect url')
@attr('fails_on_dho')
def test_post_object_success_redirect_action(): def test_post_object_success_redirect_action():
bucket = get_new_bucket() bucket = get_new_bucket()
@ -1399,7 +1388,6 @@ def test_post_object_success_redirect_action():
@attr(method='post') @attr(method='post')
@attr(operation='authenticated browser based upload via POST request') @attr(operation='authenticated browser based upload via POST request')
@attr(assertion='fails with invalid signature error') @attr(assertion='fails with invalid signature error')
@attr('fails_on_dho')
def test_post_object_invalid_signature(): def test_post_object_invalid_signature():
bucket = get_new_bucket() bucket = get_new_bucket()
conn = s3.main conn = s3.main
@ -1437,7 +1425,6 @@ def test_post_object_invalid_signature():
@attr(method='post') @attr(method='post')
@attr(operation='authenticated browser based upload via POST request') @attr(operation='authenticated browser based upload via POST request')
@attr(assertion='fails with access key does not exist error') @attr(assertion='fails with access key does not exist error')
@attr('fails_on_dho')
def test_post_object_invalid_access_key(): def test_post_object_invalid_access_key():
bucket = get_new_bucket() bucket = get_new_bucket()
conn = s3.main conn = s3.main
@ -1475,7 +1462,6 @@ def test_post_object_invalid_access_key():
@attr(method='post') @attr(method='post')
@attr(operation='authenticated browser based upload via POST request') @attr(operation='authenticated browser based upload via POST request')
@attr(assertion='fails with invalid expiration error') @attr(assertion='fails with invalid expiration error')
@attr('fails_on_dho')
def test_post_object_invalid_date_format(): def test_post_object_invalid_date_format():
bucket = get_new_bucket() bucket = get_new_bucket()
conn = s3.main conn = s3.main
@ -1513,7 +1499,6 @@ def test_post_object_invalid_date_format():
@attr(method='post') @attr(method='post')
@attr(operation='authenticated browser based upload via POST request') @attr(operation='authenticated browser based upload via POST request')
@attr(assertion='fails with missing key error') @attr(assertion='fails with missing key error')
@attr('fails_on_dho')
def test_post_object_no_key_specified(): def test_post_object_no_key_specified():
bucket = get_new_bucket() bucket = get_new_bucket()
conn = s3.main conn = s3.main
@ -1550,7 +1535,6 @@ def test_post_object_no_key_specified():
@attr(method='post') @attr(method='post')
@attr(operation='authenticated browser based upload via POST request') @attr(operation='authenticated browser based upload via POST request')
@attr(assertion='fails with missing signature error') @attr(assertion='fails with missing signature error')
@attr('fails_on_dho')
def test_post_object_missing_signature(): def test_post_object_missing_signature():
bucket = get_new_bucket() bucket = get_new_bucket()
conn = s3.main conn = s3.main
@ -1588,7 +1572,6 @@ def test_post_object_missing_signature():
@attr(method='post') @attr(method='post')
@attr(operation='authenticated browser based upload via POST request') @attr(operation='authenticated browser based upload via POST request')
@attr(assertion='fails with extra input fields policy error') @attr(assertion='fails with extra input fields policy error')
@attr('fails_on_dho')
def test_post_object_missing_policy_condition(): def test_post_object_missing_policy_condition():
bucket = get_new_bucket() bucket = get_new_bucket()
conn = s3.main conn = s3.main
@ -1625,7 +1608,6 @@ def test_post_object_missing_policy_condition():
@attr(method='post') @attr(method='post')
@attr(operation='authenticated browser based upload via POST request') @attr(operation='authenticated browser based upload via POST request')
@attr(assertion='succeeds using starts-with restriction on metadata header') @attr(assertion='succeeds using starts-with restriction on metadata header')
@attr('fails_on_dho')
def test_post_object_user_specified_header(): def test_post_object_user_specified_header():
bucket = get_new_bucket() bucket = get_new_bucket()
conn = s3.main conn = s3.main
@ -1666,7 +1648,6 @@ def test_post_object_user_specified_header():
@attr(method='post') @attr(method='post')
@attr(operation='authenticated browser based upload via POST request') @attr(operation='authenticated browser based upload via POST request')
@attr(assertion='fails with policy condition failed error due to missing field in POST request') @attr(assertion='fails with policy condition failed error due to missing field in POST request')
@attr('fails_on_dho')
def test_post_object_request_missing_policy_specified_field(): def test_post_object_request_missing_policy_specified_field():
bucket = get_new_bucket() bucket = get_new_bucket()
conn = s3.main conn = s3.main
@ -1705,7 +1686,6 @@ def test_post_object_request_missing_policy_specified_field():
@attr(method='post') @attr(method='post')
@attr(operation='authenticated browser based upload via POST request') @attr(operation='authenticated browser based upload via POST request')
@attr(assertion='fails with conditions must be list error') @attr(assertion='fails with conditions must be list error')
@attr('fails_on_dho')
def test_post_object_condition_is_case_sensitive(): def test_post_object_condition_is_case_sensitive():
bucket = get_new_bucket() bucket = get_new_bucket()
conn = s3.main conn = s3.main
@ -1743,7 +1723,6 @@ def test_post_object_condition_is_case_sensitive():
@attr(method='post') @attr(method='post')
@attr(operation='authenticated browser based upload via POST request') @attr(operation='authenticated browser based upload via POST request')
@attr(assertion='fails with expiration must be string error') @attr(assertion='fails with expiration must be string error')
@attr('fails_on_dho')
def test_post_object_expires_is_case_sensitive(): def test_post_object_expires_is_case_sensitive():
bucket = get_new_bucket() bucket = get_new_bucket()
conn = s3.main conn = s3.main
@ -1781,7 +1760,6 @@ def test_post_object_expires_is_case_sensitive():
@attr(method='post') @attr(method='post')
@attr(operation='authenticated browser based upload via POST request') @attr(operation='authenticated browser based upload via POST request')
@attr(assertion='fails with policy expired error') @attr(assertion='fails with policy expired error')
@attr('fails_on_dho')
def test_post_object_expired_policy(): def test_post_object_expired_policy():
bucket = get_new_bucket() bucket = get_new_bucket()
conn = s3.main conn = s3.main
@ -1819,7 +1797,6 @@ def test_post_object_expired_policy():
@attr(method='post') @attr(method='post')
@attr(operation='authenticated browser based upload via POST request') @attr(operation='authenticated browser based upload via POST request')
@attr(assertion='fails using equality restriction on metadata header') @attr(assertion='fails using equality restriction on metadata header')
@attr('fails_on_dho')
def test_post_object_invalid_request_field_value(): def test_post_object_invalid_request_field_value():
bucket = get_new_bucket() bucket = get_new_bucket()
conn = s3.main conn = s3.main
@ -1858,7 +1835,6 @@ def test_post_object_invalid_request_field_value():
@attr(method='post') @attr(method='post')
@attr(operation='authenticated browser based upload via POST request') @attr(operation='authenticated browser based upload via POST request')
@attr(assertion='fails with policy missing expiration error') @attr(assertion='fails with policy missing expiration error')
@attr('fails_on_dho')
def test_post_object_missing_expires_condition(): def test_post_object_missing_expires_condition():
bucket = get_new_bucket() bucket = get_new_bucket()
conn = s3.main conn = s3.main
@ -1896,7 +1872,6 @@ def test_post_object_missing_expires_condition():
@attr(method='post') @attr(method='post')
@attr(operation='authenticated browser based upload via POST request') @attr(operation='authenticated browser based upload via POST request')
@attr(assertion='fails with policy missing conditions error') @attr(assertion='fails with policy missing conditions error')
@attr('fails_on_dho')
def test_post_object_missing_conditions_list(): def test_post_object_missing_conditions_list():
bucket = get_new_bucket() bucket = get_new_bucket()
conn = s3.main conn = s3.main
@ -1927,7 +1902,6 @@ def test_post_object_missing_conditions_list():
@attr(method='post') @attr(method='post')
@attr(operation='authenticated browser based upload via POST request') @attr(operation='authenticated browser based upload via POST request')
@attr(assertion='fails with allowable upload size exceeded error') @attr(assertion='fails with allowable upload size exceeded error')
@attr('fails_on_dho')
def test_post_object_upload_size_limit_exceeded(): def test_post_object_upload_size_limit_exceeded():
bucket = get_new_bucket() bucket = get_new_bucket()
conn = s3.main conn = s3.main
@ -1965,7 +1939,6 @@ def test_post_object_upload_size_limit_exceeded():
@attr(method='post') @attr(method='post')
@attr(operation='authenticated browser based upload via POST request') @attr(operation='authenticated browser based upload via POST request')
@attr(assertion='fails with invalid content length error') @attr(assertion='fails with invalid content length error')
@attr('fails_on_dho')
def test_post_object_missing_content_length_argument(): def test_post_object_missing_content_length_argument():
bucket = get_new_bucket() bucket = get_new_bucket()
conn = s3.main conn = s3.main
@ -2003,7 +1976,6 @@ def test_post_object_missing_content_length_argument():
@attr(method='post') @attr(method='post')
@attr(operation='authenticated browser based upload via POST request') @attr(operation='authenticated browser based upload via POST request')
@attr(assertion='fails with invalid JSON error') @attr(assertion='fails with invalid JSON error')
@attr('fails_on_dho')
def test_post_object_invalid_content_length_argument(): def test_post_object_invalid_content_length_argument():
bucket = get_new_bucket() bucket = get_new_bucket()
conn = s3.main conn = s3.main
@ -2041,7 +2013,6 @@ def test_post_object_invalid_content_length_argument():
@attr(method='post') @attr(method='post')
@attr(operation='authenticated browser based upload via POST request') @attr(operation='authenticated browser based upload via POST request')
@attr(assertion='fails with upload size less than minimum allowable error') @attr(assertion='fails with upload size less than minimum allowable error')
@attr('fails_on_dho')
def test_post_object_upload_size_below_minimum(): def test_post_object_upload_size_below_minimum():
bucket = get_new_bucket() bucket = get_new_bucket()
conn = s3.main conn = s3.main