From e3560760735d9b53347ae87261a0b9bd1a3d5b0a 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 98d44a0f..91c6399f 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 15a43185..c6b8b344 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 cc40358c..6d9f4bba 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" -- 2.45.2