s3 backend fixture no longer needs to not come last

This commit is contained in:
Matthias Bisping 2022-06-14 15:40:23 +02:00
parent d1242aee6c
commit 4fcc89f938
2 changed files with 0 additions and 11 deletions

View File

@ -92,8 +92,6 @@ def storage(client_name, bucket_name, s3_backend, docker_compose):
storage.clear_bucket(bucket_name)
# NOTE: when this fixture is used, then serve_test fails. When instead a decorator with the same logic is used,
# serve_test passes.
@pytest.fixture(params=["minio", "aws"])
def s3_backend(request):
return request.param

View File

@ -41,15 +41,6 @@ from test.utils.input import pair_data_with_queue_message
True,
],
)
# NOTE: There is a bug in pytest, which leads this test to fail, when n_items has more than one entry and s3_backend is
# the last decorator. Yes, really.
@pytest.mark.parametrize(
"s3_backend",
[
"minio",
"aws",
],
)
@pytest.mark.parametrize(
"n_items",
[