Compare commits
1 commit
master
...
feature/lo
Author | SHA1 | Date | |
---|---|---|---|
aa067d85a7 |
2 changed files with 7 additions and 1 deletions
|
@ -90,6 +90,12 @@ class TestS3GatePolicy(ClusterTestBase):
|
||||||
)
|
)
|
||||||
assert copies_2 == 3
|
assert copies_2 == 3
|
||||||
|
|
||||||
|
@allure.title("Test S3: bucket with unexisting location constraint")
|
||||||
|
def test_s3_bucket_wrong_location(self, s3_client: S3ClientWrapper):
|
||||||
|
with allure.step("Create bucket with unenxisting location constraint policy"):
|
||||||
|
with pytest.raises(Exception):
|
||||||
|
s3_client.create_bucket(location_constraint="UNEXISTING LOCATION CONSTRAINT")
|
||||||
|
|
||||||
@allure.title("Test S3: bucket policy ")
|
@allure.title("Test S3: bucket policy ")
|
||||||
def test_s3_bucket_policy(self, s3_client: S3ClientWrapper):
|
def test_s3_bucket_policy(self, s3_client: S3ClientWrapper):
|
||||||
with allure.step("Create bucket with default policy"):
|
with allure.step("Create bucket with default policy"):
|
||||||
|
|
Loading…
Reference in a new issue