Skip to content

Commit cc1b58d

Browse files
committed
Fix lint
1 parent 7916d34 commit cc1b58d

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

tests/integration/conftest.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ def flask_function(lambda_client: BaseClient, iam_role: str, lambda_zip: Path) -
211211
@pytest.fixture(autouse=True)
212212
def clean_audit_bucket(s3_client: BaseClient, audit_bucket: str):
213213
objects_to_delete = []
214-
paginator = s3_client.get_paginator('list_objects_v2')
214+
paginator = s3_client.get_paginator("list_objects_v2")
215215
pages = paginator.paginate(Bucket=audit_bucket)
216216
for page in pages:
217217
if "Contents" in page:
@@ -224,7 +224,6 @@ def clean_audit_bucket(s3_client: BaseClient, audit_bucket: str):
224224
Delete={"Objects": objects_to_delete, "Quiet": True},
225225
)
226226

227-
yield
228227

229228

230229
@pytest.fixture(scope="session")

0 commit comments

Comments
 (0)