Skip to content

Commit

Permalink
rest: skip Filename test case
Browse files Browse the repository at this point in the history
It gets converted to FileName by the current REST gateway logic and is
documented to do so, therefore this test can't work the way it's intended to.

Signed-off-by: Roman Khimov <[email protected]>
  • Loading branch information
roman-khimov committed Apr 18, 2024
1 parent 6452e0a commit 8c83e8e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion pytest_tests/tests/services/rest_gate/test_rest_gate.py
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,6 @@ def test_put_http_get_http(self, complex_object_size, simple_object_size, gw_par
@pytest.mark.parametrize(
"attributes",
[
{"Filename": "simple_obj_filename"},
{"File-Name": "simple obj filename"},
{"FileName": "simple obj filename"},
pytest.param(
Expand All @@ -344,6 +343,12 @@ def test_put_http_get_http(self, complex_object_size, simple_object_size, gw_par
reason="https://github.com/nspcc-dev/neofs-rest-gw/issues/195"
),
),
pytest.param(
{"Filename": "simple_obj_filename"},
marks=pytest.mark.skip(
reason="https://github.com/nspcc-dev/neofs-rest-gw/issues/168"
),
),
],
ids=["simple", "hyphen", "special", "percent"],
)
Expand Down

0 comments on commit 8c83e8e

Please sign in to comment.