Test for invalid location constraint #38

Merged
ylukoyan merged 1 commit from EliChin/frostfs-testcases:feature/loc_constrain into master 2023-05-18 13:49:49 +00:00
Member

Signed-off-by: Liza e.chichindaeva@yadro.com

Signed-off-by: Liza <e.chichindaeva@yadro.com>
EliChin requested review from JuliaKovshova 2023-05-05 10:12:06 +00:00
EliChin requested review from abereziny 2023-05-05 10:12:07 +00:00
EliChin requested review from qa-committers 2023-05-05 10:12:07 +00:00
EliChin requested review from qa-developers 2023-05-05 10:12:08 +00:00
abereziny reviewed 2023-05-16 08:43:58 +00:00
@ -120,2 +120,4 @@
print(policy_1)
@allure.title("Test S3: bucket with unexisting location constraint")
def test_s3_bucket_wrong_location(self):
Member

Please rebase to master

After rebase should look like this:

    @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")
Please rebase to master After rebase should look like this: ``` @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") ```
Author
Member

rebased

rebased
ylukoyan requested review from ylukoyan 2023-05-17 08:17:50 +00:00
ylukoyan requested changes 2023-05-17 08:18:32 +00:00
ylukoyan left a comment
Member

+1 to Andrey's comment

+1 to Andrey's comment
JuliaKovshova approved these changes 2023-05-17 08:22:48 +00:00
@ -122,0 +122,4 @@
@allure.title("Test S3: bucket with unexisting location constraint")
def test_s3_bucket_wrong_location(self):
with allure.step("Create bucket with unenxisting location constraint policy"):
with pytest.raises(Exception):
Member

please add text for error

please add text for error
Author
Member

the error message will come from the create bucket method, and it's the needed one about wrong loc constraint

the error message will come from the `create bucket` method, and it's the needed one about wrong loc constraint
EliChin force-pushed feature/loc_constrain from 94960c9a9e to aa067d85a7 2023-05-18 07:53:41 +00:00 Compare
EliChin requested review from ylukoyan 2023-05-18 07:54:17 +00:00
JuliaKovshova requested review from qa-committers 2023-05-18 12:50:24 +00:00
JuliaKovshova requested review from qa-developers 2023-05-18 12:50:24 +00:00
JuliaKovshova approved these changes 2023-05-18 12:50:31 +00:00
abereziny approved these changes 2023-05-18 13:41:22 +00:00
abereziny approved these changes 2023-05-18 13:41:49 +00:00
@ -2,3 +2,3 @@
"complex": "REP 1 IN X CBF 1 SELECT 1 FROM * AS X"
}
}
Member

Yet I don't understand why this file was touched :D

Yet I don't understand why this file was touched :D
ylukoyan approved these changes 2023-05-18 13:49:31 +00:00
ylukoyan merged commit 5be478e577 into master 2023-05-18 13:49:49 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
4 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: TrueCloudLab/frostfs-testcases#38
No description provided.