Skip to content

Commit 7316704

Browse files
adamchainzmedmunds
authored andcommitted
Tests: Convert readthedocs links to .io
Convert readthedocs links for their .org -> .io migration for hosted projects As per [their blog post of the 27th April](https://blog.readthedocs.com/securing-subdomains/) ‘Securing subdomains’: > Starting today, Read the Docs will start hosting projects from subdomains on the domain readthedocs.io, instead of on readthedocs.org. This change addresses some security concerns around site cookies while hosting user generated data on the same domain as our dashboard. Test Plan: Manually visited all the links I’ve modified.
1 parent 1ea9ab6 commit 7316704

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

tests/test_mailgun_backend.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ def test_attachments(self):
146146

147147
def test_unicode_attachment_correctly_decoded(self):
148148
# Slight modification from the Django unicode docs:
149-
# http://django.readthedocs.org/en/latest/ref/unicode.html#email
149+
# https://django.readthedocs.io/en/latest/ref/unicode.html#email
150150
self.message.attach("Une pièce jointe.html", '<p>\u2019</p>', mimetype='text/html')
151151
self.message.send()
152152
files = self.get_api_call_files()

tests/test_mandrill_backend.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ def test_attachments(self):
172172

173173
def test_unicode_attachment_correctly_decoded(self):
174174
# Slight modification from the Django unicode docs:
175-
# http://django.readthedocs.org/en/latest/ref/unicode.html#email
175+
# https://django.readthedocs.io/en/latest/ref/unicode.html#email
176176
self.message.attach("Une pièce jointe.html", '<p>\u2019</p>', mimetype='text/html')
177177
self.message.send()
178178
data = self.get_api_call_json()

tests/test_postmark_backend.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ def test_attachments(self):
173173

174174
def test_unicode_attachment_correctly_decoded(self):
175175
# Slight modification from the Django unicode docs:
176-
# http://django.readthedocs.org/en/latest/ref/unicode.html#email
176+
# https://django.readthedocs.io/en/latest/ref/unicode.html#email
177177
self.message.attach("Une pièce jointe.html", '<p>\u2019</p>', mimetype='text/html')
178178
self.message.send()
179179
data = self.get_api_call_json()

tests/test_sendgrid_backend.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ def test_unnamed_attachment_conflicts(self):
221221

222222
def test_unicode_attachment_correctly_decoded(self):
223223
# Slight modification from the Django unicode docs:
224-
# http://django.readthedocs.org/en/latest/ref/unicode.html#email
224+
# https://django.readthedocs.io/en/latest/ref/unicode.html#email
225225
self.message.attach("Une pièce jointe.html", '<p>\u2019</p>', mimetype='text/html')
226226
self.message.send()
227227
files = self.get_api_call_files()

0 commit comments

Comments
 (0)