Skip to content

Commit

Permalink
s3_gate: Fix spelling errors
Browse files Browse the repository at this point in the history
Signed-off-by: Oleg Kulachenko <[email protected]>
  • Loading branch information
vvarg229 committed Jan 9, 2024
1 parent 63bc21e commit 7a62cd1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def pytest_generate_tests(metafunc):
class TestS3GateBucket(TestNeofsS3GateBase):
@pytest.mark.acl
@pytest.mark.sanity
@allure.title("Test S3: Create Bucket with different ACL")
@allure.title("Test S3: Create Bucket with various ACL")
def test_s3_create_bucket_with_ACL(self):

with allure.step("Create bucket with ACL private"):
Expand Down Expand Up @@ -150,7 +150,7 @@ def test_s3_delete_bucket(self, simple_object_size):
s3_gate_object.put_object_s3(self.s3_client, bucket, file_path_2)
check_objects_in_bucket(self.s3_client, bucket, [file_name_1, file_name_2])

with allure.step("Try to delete not empty bucket and get error"):
with allure.step("Try to delete not empty bucket and expect error"):
with pytest.raises(Exception, match=r".*The bucket you tried to delete is not empty.*"):
s3_gate_bucket.delete_bucket_s3(self.s3_client, bucket)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def test_s3_buckets(self, simple_object_size):
file_name in bucket_objects
), f"Expected file {file_name} in objects list {bucket_objects}"

with allure.step("Try to delete not empty bucket and get error"):
with allure.step("Try to delete not empty bucket and expect error"):
with pytest.raises(Exception, match=r".*The bucket you tried to delete is not empty.*"):
s3_gate_bucket.delete_bucket_s3(self.s3_client, bucket_1)

Expand Down

0 comments on commit 7a62cd1

Please sign in to comment.