From 1474f97c1dc391a2e152b12af59a9c5e8a574a53 Mon Sep 17 00:00:00 2001 From: Manuel Kaufmann Date: Mon, 7 Oct 2024 23:27:13 +0200 Subject: [PATCH] Proxito: remove `X-RTD-Hosting-Integrations` HTTP header (#11656) This header is useless now that we are fully migrated to Addons. I'm removing the only the test for now, since it's failing on all the PRs. Related #11653 --- readthedocs/proxito/tests/test_headers.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/readthedocs/proxito/tests/test_headers.py b/readthedocs/proxito/tests/test_headers.py index 17eb7cf69b6..f8ace044030 100644 --- a/readthedocs/proxito/tests/test_headers.py +++ b/readthedocs/proxito/tests/test_headers.py @@ -199,18 +199,6 @@ def test_user_domain_headers(self): self.assertEqual(r[http_header], http_header_value) self.assertEqual(r[http_header_secure], http_header_value) - def test_hosting_integrations_header(self): - version = self.project.versions.get(slug=LATEST) - version.addons = True - version.save() - - r = self.client.get( - "/en/latest/", secure=True, headers={"host": "project.dev.readthedocs.io"} - ) - self.assertEqual(r.status_code, 200) - self.assertIsNotNone(r.get("X-RTD-Hosting-Integrations")) - self.assertEqual(r["X-RTD-Hosting-Integrations"], "true") - def test_force_addons_header(self): fixture.get(AddonsConfig, project=self.project, enabled=True)