We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01670d3 commit 972425cCopy full SHA for 972425c
services/storage/tests/unit/test_simcore_s3_dsm.py
@@ -295,5 +295,10 @@ async def test_create_s3_export_abort_upload_upon_error(
295
):
296
await _assert_meta_data_entries_count(sqlalchemy_async_engine, count=0)
297
with pytest.raises(RuntimeError, match="failing as expected"):
298
- await simcore_s3_dsm.create_s3_export(user_id, [], progress_bar=None)
+ async with ProgressBarData(
299
+ num_steps=1, description="data export"
300
+ ) as progress_bar:
301
+ await simcore_s3_dsm.create_s3_export(
302
+ user_id, [], progress_bar=progress_bar
303
+ )
304
0 commit comments