This commit is contained in:
Dan Palmer 2017-12-11 14:33:43 +00:00
parent 21435c1863
commit 10a378bd46
No known key found for this signature in database
GPG Key ID: DD869B28A1B7AA92

View File

@ -20,7 +20,7 @@ def test_index_put_not_allowed():
assert response.status == 405 assert response.status == 405
``` ```
Internally, each time you call one of the `test_client` methods, the Sanic app is run at `127.0.01:42101` and Internally, each time you call one of the `test_client` methods, the Sanic app is run at `127.0.0.1:42101` and
your test request is executed against your application, using `aiohttp`. your test request is executed against your application, using `aiohttp`.
The `test_client` methods accept the following arguments and keyword arguments: The `test_client` methods accept the following arguments and keyword arguments: