From 8c83e8e9738027db521b129b1cd7a39bedc39b9d Mon Sep 17 00:00:00 2001 From: Roman Khimov Date: Thu, 18 Apr 2024 09:59:01 +0300 Subject: [PATCH] rest: skip Filename test case 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 --- pytest_tests/tests/services/rest_gate/test_rest_gate.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pytest_tests/tests/services/rest_gate/test_rest_gate.py b/pytest_tests/tests/services/rest_gate/test_rest_gate.py index a57478ef6..d0a23309a 100644 --- a/pytest_tests/tests/services/rest_gate/test_rest_gate.py +++ b/pytest_tests/tests/services/rest_gate/test_rest_gate.py @@ -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( @@ -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"], )