From 0ae0cee52286063f1d8ba5a97593611406668ac9 Mon Sep 17 00:00:00 2001 From: Yaroslava Lukoyanova Date: Mon, 7 Aug 2023 17:08:54 +0300 Subject: [PATCH] Small fixes and skips for http gw test cases --- pytest_tests/testsuites/services/http_gate/test_http_headers.py | 1 + pytest_tests/testsuites/services/http_gate/test_http_object.py | 2 +- .../testsuites/services/http_gate/test_http_system_header.py | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/pytest_tests/testsuites/services/http_gate/test_http_headers.py b/pytest_tests/testsuites/services/http_gate/test_http_headers.py index a03d3da..4d10085 100644 --- a/pytest_tests/testsuites/services/http_gate/test_http_headers.py +++ b/pytest_tests/testsuites/services/http_gate/test_http_headers.py @@ -85,6 +85,7 @@ class Test_http_headers(ClusterTestBase): yield storage_objects + @pytest.mark.skip("Skipped due to deprecated PUT via http") @allure.title("Get object1 by attribute") def test_object1_can_be_get_by_attr( self, storage_objects_with_attributes: list[StorageObjectInfo] diff --git a/pytest_tests/testsuites/services/http_gate/test_http_object.py b/pytest_tests/testsuites/services/http_gate/test_http_object.py index fb5477d..3088ad4 100644 --- a/pytest_tests/testsuites/services/http_gate/test_http_object.py +++ b/pytest_tests/testsuites/services/http_gate/test_http_object.py @@ -127,5 +127,5 @@ class Test_http_object(ClusterTestBase): error_pattern=expected_err_msg, http_request_path=request, endpoint=self.cluster.default_http_gate_endpoint, - hostname=self.cluster.default_http_hostname, + http_hostname=self.cluster.default_http_hostname, ) diff --git a/pytest_tests/testsuites/services/http_gate/test_http_system_header.py b/pytest_tests/testsuites/services/http_gate/test_http_system_header.py index 203a2b5..8f9cc0f 100644 --- a/pytest_tests/testsuites/services/http_gate/test_http_system_header.py +++ b/pytest_tests/testsuites/services/http_gate/test_http_system_header.py @@ -37,6 +37,7 @@ SYSTEM_EXPIRATION_RFC3339 = "System-Expiration-RFC3339" @pytest.mark.sanity @pytest.mark.http_gate +@pytest.mark.skip("Skipped due to deprecated PUT via http") class Test_http_system_header(ClusterTestBase): PLACEMENT_RULE = "REP 2 IN X CBF 1 SELECT 2 FROM * AS X"