From 731670427c19a8ad5c8cec75b56b4f13597d9312 Mon Sep 17 00:00:00 2001 From: Adam Chainz Date: Wed, 22 Jun 2016 22:57:58 +0100 Subject: [PATCH] Tests: Convert readthedocs links to .io MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- tests/test_mailgun_backend.py | 2 +- tests/test_mandrill_backend.py | 2 +- tests/test_postmark_backend.py | 2 +- tests/test_sendgrid_backend.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/test_mailgun_backend.py b/tests/test_mailgun_backend.py index 8450942..38ceafe 100644 --- a/tests/test_mailgun_backend.py +++ b/tests/test_mailgun_backend.py @@ -146,7 +146,7 @@ class MailgunBackendStandardEmailTests(MailgunBackendMockAPITestCase): 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", '

\u2019

', mimetype='text/html') self.message.send() files = self.get_api_call_files() diff --git a/tests/test_mandrill_backend.py b/tests/test_mandrill_backend.py index 2c02297..4c7a711 100644 --- a/tests/test_mandrill_backend.py +++ b/tests/test_mandrill_backend.py @@ -172,7 +172,7 @@ class MandrillBackendStandardEmailTests(MandrillBackendMockAPITestCase): 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", '

\u2019

', mimetype='text/html') self.message.send() data = self.get_api_call_json() diff --git a/tests/test_postmark_backend.py b/tests/test_postmark_backend.py index a627bf3..a556fa2 100644 --- a/tests/test_postmark_backend.py +++ b/tests/test_postmark_backend.py @@ -173,7 +173,7 @@ class PostmarkBackendStandardEmailTests(PostmarkBackendMockAPITestCase): 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", '

\u2019

', mimetype='text/html') self.message.send() data = self.get_api_call_json() diff --git a/tests/test_sendgrid_backend.py b/tests/test_sendgrid_backend.py index a9e5fe7..f0b7765 100644 --- a/tests/test_sendgrid_backend.py +++ b/tests/test_sendgrid_backend.py @@ -221,7 +221,7 @@ class SendGridBackendStandardEmailTests(SendGridBackendMockAPITestCase): 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", '

\u2019

', mimetype='text/html') self.message.send() files = self.get_api_call_files()