discard_dynamic_title
Signed-off-by: Ekaterina Chernitsyna <e.chernitsyna@yadro.com>
This commit is contained in:
parent
e8289a3f83
commit
a2e039489c
1 changed files with 6 additions and 9 deletions
|
@ -165,19 +165,17 @@ class TestHttpPut(ClusterTestBase):
|
||||||
name="download by attributes",
|
name="download by attributes",
|
||||||
)
|
)
|
||||||
@pytest.mark.skip("Skipped due to deprecated PUT via http")
|
@pytest.mark.skip("Skipped due to deprecated PUT via http")
|
||||||
@allure.title("Put over HTTP, Get over HTTP with header")
|
@allure.title("Put over HTTP, Get over HTTP with {id} header")
|
||||||
@pytest.mark.parametrize(
|
@pytest.mark.parametrize(
|
||||||
"attributes",
|
"attributes,id",
|
||||||
[
|
[
|
||||||
{"fileName": "simple_obj_filename"},
|
({"fileName": "simple_obj_filename"}, "simple"),
|
||||||
{"file-Name": "simple obj filename"},
|
({"file-Name": "simple obj filename"}, "hyphen"),
|
||||||
{"cat%jpeg": "cat%jpeg"},
|
({"cat%jpeg": "cat%jpeg"}, "percent"),
|
||||||
],
|
],
|
||||||
ids=["simple", "hyphen", "percent"],
|
ids=["simple", "hyphen", "percent"],
|
||||||
)
|
)
|
||||||
def test_put_http_get_http_with_headers(
|
def test_put_http_get_http_with_headers(self, attributes: dict, simple_object_size: ObjectSize, id: str):
|
||||||
self, attributes: dict, simple_object_size: ObjectSize, request: pytest.FixtureRequest
|
|
||||||
):
|
|
||||||
"""
|
"""
|
||||||
Test that object can be downloaded using different attributes in HTTP header.
|
Test that object can be downloaded using different attributes in HTTP header.
|
||||||
|
|
||||||
|
@ -190,7 +188,6 @@ class TestHttpPut(ClusterTestBase):
|
||||||
Expected result:
|
Expected result:
|
||||||
Hashes must be the same.
|
Hashes must be the same.
|
||||||
"""
|
"""
|
||||||
allure.dynamic.title(f"Put over HTTP, Get over HTTP with {request.node.callspec.id} header")
|
|
||||||
cid = create_container(
|
cid = create_container(
|
||||||
self.wallet,
|
self.wallet,
|
||||||
shell=self.shell,
|
shell=self.shell,
|
||||||
|
|
Loading…
Reference in a new issue