Skip to content

Commit 480dd75

Browse files
committed
More testing
1 parent b7974f3 commit 480dd75

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/unit/test_federated_s3.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@
1515

1616
"""Tests for the FederatedS3Fixture and related items."""
1717

18-
import asyncio
19-
2018
import pytest
2119

2220
from hexkit.providers.s3 import S3Config
@@ -50,14 +48,16 @@ async def test_get_configs_by_alias(federated_s3: FederatedS3Fixture):
5048

5149
async 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

0 commit comments

Comments
 (0)