Fix dataloss test

Signed-off-by: anikeev-yadro <a.anikeev@yadro.com>
This commit is contained in:
anikeev-yadro 2023-03-22 09:08:56 +03:00 committed by Gitea
parent bb831697f7
commit 5684d11408

View file

@ -284,9 +284,6 @@ class TestEmptyMap(TestS3GateBase):
with allure.step("Check that we can read object"): with allure.step("Check that we can read object"):
check_objects_in_bucket(self.s3_client, bucket, bucket_objects) check_objects_in_bucket(self.s3_client, bucket, bucket_objects)
objects_list = s3_gate_object.list_objects_s3(self.s3_client, bucket)
assert not objects_list, f"Expected empty bucket, got {objects_list}"
@allure.step("Teardown after EmptyMap stop service test") @allure.step("Teardown after EmptyMap stop service test")
@pytest.fixture() @pytest.fixture()
def empty_map_stop_service_teardown(self): def empty_map_stop_service_teardown(self):