@pytest.mark.encryption
def test_put_obj_enc_conflict_c_s3():
bucket_name = get_new_bucket()
- client = get_v2_client()
+ client = get_client()
# boto3.set_stream_logger(name='botocore')
if kms_keyid is None:
kms_keyid = 'fool-me-once'
bucket_name = get_new_bucket()
- client = get_v2_client()
+ client = get_client()
# boto3.set_stream_logger(name='botocore')
if kms_keyid is None:
kms_keyid = 'fool-me-once'
bucket_name = get_new_bucket()
- client = get_v2_client()
+ client = get_client()
# boto3.set_stream_logger(name='botocore')
if kms_keyid is None:
kms_keyid = 'fool-me-once'
bucket_name = get_new_bucket()
- client = get_v2_client()
+ client = get_client()
# boto3.set_stream_logger(name='botocore')
@pytest.mark.fails_on_dbstore
def test_bucket_policy_put_obj_s3_noenc():
bucket_name = get_new_bucket()
- client = get_v2_client()
+ client = get_client()
deny_unencrypted_obj = {
"Null" : {
@pytest.mark.fails_on_dbstore
def test_bucket_policy_put_obj_s3_incorrect_algo_sse_s3():
bucket_name = get_new_bucket()
- client = get_v2_client()
+ client = get_client()
deny_incorrect_algo = {
"StringNotEquals": {
if kms_keyid is None:
kms_keyid = 'fool-me-twice'
bucket_name = get_new_bucket()
- client = get_v2_client()
+ client = get_client()
deny_incorrect_algo = {
"StringNotEquals": {
if kms_keyid is None:
pytest.skip('[s3 main] section missing kms_keyid')
bucket_name = get_new_bucket()
- client = get_v2_client()
+ client = get_client()
deny_incorrect_algo = {
"StringNotEquals": {
@pytest.mark.bucket_policy
def test_bucket_policy_put_obj_kms_s3():
bucket_name = get_new_bucket()
- client = get_v2_client()
+ client = get_client()
deny_incorrect_algo = {
"StringNotEquals": {