From df95bf2aa7675766c79a171a1cfaabe51670725b Mon Sep 17 00:00:00 2001 From: l1storez Date: Fri, 16 Apr 2021 00:47:37 +0300 Subject: [PATCH] Fix broken references --- docs/testing.rst | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/testing.rst b/docs/testing.rst index a93876e9497..fdf08ec1d88 100644 --- a/docs/testing.rst +++ b/docs/testing.rst @@ -57,7 +57,7 @@ requests to this server. :class:`~aiohttp.test_utils.TestServer` runs :class:`aiohttp.web.Application` based server, :class:`~aiohttp.test_utils.RawTestServer` starts -:class:`aiohttp.web.WebServer` low level server. +:class:`aiohttp.web.Server` low level server. For performing HTTP requests to these servers you have to create a test client: :class:`~aiohttp.test_utils.TestClient` instance. @@ -338,7 +338,7 @@ functionality, the AioHTTPTestCase is provided:: .. attribute:: app - The application returned by :meth:`get_app` + The application returned by :meth:`~aiohttp.test_utils.AioHTTPTestCase.get_application` (:class:`aiohttp.web.Application` instance). .. comethod:: get_client() @@ -544,7 +544,7 @@ conditions that hard to reproduce on real server:: :type writer: aiohttp.StreamWriter :param transport: asyncio transport instance - :type transport: asyncio.transports.Transport + :type transport: asyncio.Transport :param payload: raw payload reader object :type payload: aiohttp.StreamReader @@ -623,8 +623,8 @@ Test server Runs given :class:`aiohttp.web.Application` instance on random TCP port. After creation the server is not started yet, use -:meth:`~aiohttp.test_utils.TestServer.start_server` for actual server -starting and :meth:`~aiohttp.test_utils.TestServer.close` for +:meth:`~aiohttp.test_utils.BaseTestServer.start_server` for actual server +starting and :meth:`~aiohttp.test_utils.BaseTestServer.close` for stopping/cleanup. Test server usually works in conjunction with @@ -660,7 +660,7 @@ for accessing to the server. .. attribute:: handler - :class:`aiohttp.web.WebServer` used for HTTP requests serving. + :class:`aiohttp.web.Server` used for HTTP requests serving. .. attribute:: server