Skip to content

Commit

Permalink
Tests: Convert readthedocs links to .io
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
adamchainz authored and medmunds committed Jun 22, 2016
1 parent 1ea9ab6 commit 7316704
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tests/test_mailgun_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def test_attachments(self):

def test_unicode_attachment_correctly_decoded(self):
# Slight modification from the Django unicode docs:
# http://django.readthedocs.org/en/latest/ref/unicode.html#email
# https://django.readthedocs.io/en/latest/ref/unicode.html#email
self.message.attach("Une pièce jointe.html", '<p>\u2019</p>', mimetype='text/html')
self.message.send()
files = self.get_api_call_files()
Expand Down
2 changes: 1 addition & 1 deletion tests/test_mandrill_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ def test_attachments(self):

def test_unicode_attachment_correctly_decoded(self):
# Slight modification from the Django unicode docs:
# http://django.readthedocs.org/en/latest/ref/unicode.html#email
# https://django.readthedocs.io/en/latest/ref/unicode.html#email
self.message.attach("Une pièce jointe.html", '<p>\u2019</p>', mimetype='text/html')
self.message.send()
data = self.get_api_call_json()
Expand Down
2 changes: 1 addition & 1 deletion tests/test_postmark_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ def test_attachments(self):

def test_unicode_attachment_correctly_decoded(self):
# Slight modification from the Django unicode docs:
# http://django.readthedocs.org/en/latest/ref/unicode.html#email
# https://django.readthedocs.io/en/latest/ref/unicode.html#email
self.message.attach("Une pièce jointe.html", '<p>\u2019</p>', mimetype='text/html')
self.message.send()
data = self.get_api_call_json()
Expand Down
2 changes: 1 addition & 1 deletion tests/test_sendgrid_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ def test_unnamed_attachment_conflicts(self):

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

0 comments on commit 7316704

Please sign in to comment.