From 4c6caea50f9b9016c6610845f5862c89eb8ac089 Mon Sep 17 00:00:00 2001 From: git-hyagi <45576767+git-hyagi@users.noreply.github.com> Date: Tue, 27 Feb 2024 07:42:16 -0300 Subject: [PATCH] draft --- pulp_container/tests/functional/api/test_content_cache.py | 5 ----- unittest_requirements.txt | 3 +-- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/pulp_container/tests/functional/api/test_content_cache.py b/pulp_container/tests/functional/api/test_content_cache.py index e637bfb66..ecd135964 100644 --- a/pulp_container/tests/functional/api/test_content_cache.py +++ b/pulp_container/tests/functional/api/test_content_cache.py @@ -192,11 +192,6 @@ def fetch_response_metadata(self, response): if DEFAULT_FILE_STORAGE in STANDARD_FILE_STORAGE_FRAMEWORKS: return response.status_code, response.headers.get("X-PULP-CACHE") else: - """Corner case for deprecated v2 schema1""" - if response.status_code == 404: - return response.status_code, response.headers.get("X-PULP-CACHE") - - """Normalize status code for redirects""" if response.history: response = response.history[0] response.status_code = 200 diff --git a/unittest_requirements.txt b/unittest_requirements.txt index 8bbeca212..3480e9684 100644 --- a/unittest_requirements.txt +++ b/unittest_requirements.txt @@ -1,5 +1,4 @@ mock pytest-django pulp-smash @ git+https://github.com/pulp/pulp-smash.git -pytest<8 -pyjwkest>=1.4,<=1.4.2 \ No newline at end of file +pytest<8 \ No newline at end of file