narrowed down the pytest bug: n_items interacts with s3_backend: when n_items has more than one entry, s3_backend must not be the last decorator
This commit is contained in:
parent
051cea3ded
commit
8a64e5d868
@ -19,13 +19,6 @@ from pyinfra.visitor import get_object_descriptor, QueueVisitor
|
||||
from test.utils.input import pair_data_with_queue_message
|
||||
|
||||
|
||||
@pytest.mark.parametrize(
|
||||
"s3_backend",
|
||||
[
|
||||
"minio",
|
||||
"aws",
|
||||
],
|
||||
)
|
||||
@pytest.mark.parametrize(
|
||||
"batched",
|
||||
[
|
||||
@ -47,6 +40,15 @@ 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",
|
||||
[
|
||||
@ -84,7 +86,7 @@ from test.utils.input import pair_data_with_queue_message
|
||||
@pytest.mark.parametrize(
|
||||
"components_type",
|
||||
[
|
||||
"test",
|
||||
# "test",
|
||||
"real",
|
||||
],
|
||||
)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user