diff --git a/tests/examples/nats/test_e07_object_storage.py b/tests/examples/nats/test_e07_object_storage.py index 0c9a4b04a4..1310f71a12 100644 --- a/tests/examples/nats/test_e07_object_storage.py +++ b/tests/examples/nats/test_e07_object_storage.py @@ -13,7 +13,10 @@ async def test_basic(): await broker.start() os = await broker.object_storage("example-bucket") - existed_files = await os.list() + try: + existed_files = await os.list() + except Exception: + existed_files = () call = True for file in existed_files: