File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1515
1616"""Tests for the FederatedS3Fixture and related items."""
1717
18- import asyncio
19-
2018import pytest
2119
2220from hexkit .providers .s3 import S3Config
@@ -50,14 +48,16 @@ async def test_get_configs_by_alias(federated_s3: FederatedS3Fixture):
5048
5149async def test_populate_dummy_items (federated_s3 : FederatedS3Fixture ):
5250 """Test the populate_dummy_items function on the FederatedS3Fixture."""
51+ for s3_fixture in federated_s3 .storages .values ():
52+ await s3_fixture .delete_buckets ()
53+
5354 # Define some stuff to add
5455 buckets = {
5556 "bucket1" : ["object1" , "object2" ],
5657 "empty" : [],
5758 }
5859
5960 # Populate the items
60- await asyncio .sleep (3 )
6161 await federated_s3 .populate_dummy_items (PRIMARY_STORAGE_ALIAS , buckets )
6262
6363 storage_1 = federated_s3 .storages [PRIMARY_STORAGE_ALIAS ].storage
You can’t perform that action at this time.
0 commit comments