s3 backend fixture no longer needs to not come last
This commit is contained in:
parent
d1242aee6c
commit
4fcc89f938
@ -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
|
||||
|
||||
@ -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",
|
||||
[
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user