Skip to content

Commit 1474f97

Browse files
authored
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
1 parent ed00aed commit 1474f97

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

readthedocs/proxito/tests/test_headers.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -199,18 +199,6 @@ def test_user_domain_headers(self):
199199
self.assertEqual(r[http_header], http_header_value)
200200
self.assertEqual(r[http_header_secure], http_header_value)
201201

202-
def test_hosting_integrations_header(self):
203-
version = self.project.versions.get(slug=LATEST)
204-
version.addons = True
205-
version.save()
206-
207-
r = self.client.get(
208-
"/en/latest/", secure=True, headers={"host": "project.dev.readthedocs.io"}
209-
)
210-
self.assertEqual(r.status_code, 200)
211-
self.assertIsNotNone(r.get("X-RTD-Hosting-Integrations"))
212-
self.assertEqual(r["X-RTD-Hosting-Integrations"], "true")
213-
214202
def test_force_addons_header(self):
215203
fixture.get(AddonsConfig, project=self.project, enabled=True)
216204

0 commit comments

Comments
 (0)