Skip to content

Commit

Permalink
draft
Browse files Browse the repository at this point in the history
  • Loading branch information
git-hyagi committed Feb 27, 2024
1 parent d7d21ef commit 4c6caea
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
5 changes: 0 additions & 5 deletions pulp_container/tests/functional/api/test_content_cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 1 addition & 2 deletions unittest_requirements.txt
Original file line number Diff line number Diff line change
@@ -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
pytest<8

0 comments on commit 4c6caea

Please sign in to comment.