From e098f632511a613702f21bf1869ca473b01115bd Mon Sep 17 00:00:00 2001 From: "a.berezin" Date: Tue, 16 Apr 2024 15:17:49 +0300 Subject: [PATCH] [#216] Enable http tests, since we remove them in plugin Signed-off-by: a.berezin --- .gitignore | 1 + ...test_failover_network.py => test_frostfs_failover_network.py} | 0 pytest_tests/testsuites/services/http_gate/test_http_bearer.py | 1 - pytest_tests/testsuites/services/http_gate/test_http_gate.py | 1 - pytest_tests/testsuites/services/http_gate/test_http_headers.py | 1 - .../testsuites/services/http_gate/test_http_streaming.py | 1 - .../testsuites/services/http_gate/test_http_system_header.py | 1 - .../testsuites/special/{test_logs.py => test_frostfs_logs.py} | 0 8 files changed, 1 insertion(+), 5 deletions(-) rename pytest_tests/testsuites/failovers/{test_failover_network.py => test_frostfs_failover_network.py} (100%) rename pytest_tests/testsuites/special/{test_logs.py => test_frostfs_logs.py} (100%) diff --git a/.gitignore b/.gitignore index 6a6674d..abb0f97 100644 --- a/.gitignore +++ b/.gitignore @@ -18,6 +18,7 @@ xunit_results.xml # ignore caches under any path **/__pycache__ **/.pytest_cache +*.egg-info # ignore work directories and setup files .setup diff --git a/pytest_tests/testsuites/failovers/test_failover_network.py b/pytest_tests/testsuites/failovers/test_frostfs_failover_network.py similarity index 100% rename from pytest_tests/testsuites/failovers/test_failover_network.py rename to pytest_tests/testsuites/failovers/test_frostfs_failover_network.py diff --git a/pytest_tests/testsuites/services/http_gate/test_http_bearer.py b/pytest_tests/testsuites/services/http_gate/test_http_bearer.py index 4fc291b..1a22c1a 100644 --- a/pytest_tests/testsuites/services/http_gate/test_http_bearer.py +++ b/pytest_tests/testsuites/services/http_gate/test_http_bearer.py @@ -22,7 +22,6 @@ from frostfs_testlib.utils.file_utils import generate_file logger = logging.getLogger("NeoLogger") -@pytest.mark.skip("Skipped temporarly") @pytest.mark.http_gate @pytest.mark.http_put class Test_http_bearer(ClusterTestBase): diff --git a/pytest_tests/testsuites/services/http_gate/test_http_gate.py b/pytest_tests/testsuites/services/http_gate/test_http_gate.py index a59c051..a503e92 100644 --- a/pytest_tests/testsuites/services/http_gate/test_http_gate.py +++ b/pytest_tests/testsuites/services/http_gate/test_http_gate.py @@ -102,7 +102,6 @@ class TestHttpGate(ClusterTestBase): ) @allure.link("https://git.frostfs.info/TrueCloudLab/frostfs-http-gw#uploading", name="uploading") @allure.link("https://git.frostfs.info/TrueCloudLab/frostfs-http-gw#downloading", name="downloading") -@pytest.mark.skip("Skipped temporarly") @pytest.mark.http_gate @pytest.mark.http_put class TestHttpPut(ClusterTestBase): 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 ca94319..4681047 100644 --- a/pytest_tests/testsuites/services/http_gate/test_http_headers.py +++ b/pytest_tests/testsuites/services/http_gate/test_http_headers.py @@ -28,7 +28,6 @@ OBJECT_ALREADY_REMOVED_ERROR = "object already removed" logger = logging.getLogger("NeoLogger") -@pytest.mark.skip("Skipped temporarly") @pytest.mark.http_gate @pytest.mark.http_put class Test_http_headers(ClusterTestBase): diff --git a/pytest_tests/testsuites/services/http_gate/test_http_streaming.py b/pytest_tests/testsuites/services/http_gate/test_http_streaming.py index c8df2cc..f24d60d 100644 --- a/pytest_tests/testsuites/services/http_gate/test_http_streaming.py +++ b/pytest_tests/testsuites/services/http_gate/test_http_streaming.py @@ -13,7 +13,6 @@ from frostfs_testlib.utils.file_utils import generate_file logger = logging.getLogger("NeoLogger") -@pytest.mark.skip("Skipped temporarly") @pytest.mark.http_gate @pytest.mark.http_put class Test_http_streaming(ClusterTestBase): 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 287859f..b06029b 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 @@ -32,7 +32,6 @@ SYSTEM_EXPIRATION_TIMESTAMP = "System-Expiration-Timestamp" SYSTEM_EXPIRATION_RFC3339 = "System-Expiration-RFC3339" -@pytest.mark.skip("Skipped temporarly") @pytest.mark.http_gate @pytest.mark.http_put class Test_http_system_header(ClusterTestBase): diff --git a/pytest_tests/testsuites/special/test_logs.py b/pytest_tests/testsuites/special/test_frostfs_logs.py similarity index 100% rename from pytest_tests/testsuites/special/test_logs.py rename to pytest_tests/testsuites/special/test_frostfs_logs.py