From 25bca7ce338b85e74f25de1638678473f0c17beb Mon Sep 17 00:00:00 2001 From: mvdbeek Date: Mon, 10 Jun 2024 17:01:57 +0200 Subject: [PATCH] Lint fixes --- test/integration/objectstore/_purged_handling.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/integration/objectstore/_purged_handling.py b/test/integration/objectstore/_purged_handling.py index 9ad0b7055f46..21d863473601 100644 --- a/test/integration/objectstore/_purged_handling.py +++ b/test/integration/objectstore/_purged_handling.py @@ -33,7 +33,7 @@ def purge_while_job_running(dataset_populator: DatasetPopulator, extra_sleep=0): history_id=history_id, content_id=output["id"], purge=True, wait_for_purge=True ) hda_ids.append(output["id"]) - for output_name, output_collection in job["output_collections"].items(): + for output_collection in job["output_collections"].values(): hdca = dataset_populator.get_history_collection_details( history_id=history_id, content_id=output_collection["id"] ) @@ -48,7 +48,7 @@ def purge_while_job_running(dataset_populator: DatasetPopulator, extra_sleep=0): dataset_populator.wait_for_job(job["id"], assert_ok=True) # Now make sure we can't find the datasets on disk job = dataset_populator.get_job_details(response["jobs"][0]["id"], full=True).json() - for output_name, output in job["outputs"].items(): + for output in job["outputs"].values(): exception = None try: dataset_populator.get_history_dataset_content(history_id=history_id, dataset_id=hda_id)