Merge pull request #46 from adamchainz/readthedocs.io

Convert readthedocs links for their .org -> .io migration for hosted projects
This commit is contained in:
Andrew Godwin 2016-09-22 14:04:36 -07:00 committed by GitHub
commit a83d2f41bd
2 changed files with 3 additions and 3 deletions

View File

@ -8,7 +8,7 @@ daphne
:target: https://pypi.python.org/pypi/daphne
Daphne is a HTTP, HTTP2 and WebSocket protocol server for
`ASGI <http://channels.readthedocs.org/en/latest/asgi.html>`_, and developed
`ASGI <https://channels.readthedocs.io/en/latest/asgi.html>`_, and developed
to power Django Channels.
It supports automatic negotiation of protocols; there's no need for URL

View File

@ -69,7 +69,7 @@ class TestHTTPProtocol(TestCase):
def test_http_disconnect_sets_path_key(self):
"""
Tests http disconnect has the path key set, see http://channels.readthedocs.io/en/latest/asgi.html#disconnect
Tests http disconnect has the path key set, see https://channels.readthedocs.io/en/latest/asgi.html#disconnect
"""
# Send a simple request to the protocol
self.proto.dataReceived(
@ -92,4 +92,4 @@ class TestHTTPProtocol(TestCase):
# Get the disconnection notification
_, disconnect_message = self.channel_layer.receive_many(["http.disconnect"])
self.assertEqual(disconnect_message['path'], "/te st-à/")
self.assertEqual(disconnect_message['path'], "/te st-à/")