From 6e8303d49ba55e7393c7ef5553b240ae0d2f0c00 Mon Sep 17 00:00:00 2001 From: Min ho Kim Date: Mon, 17 Jun 2019 20:38:04 +1000 Subject: [PATCH] Fixed typos in FakePayload docstring and SimplifiedURLTests test name. --- django/test/client.py | 2 +- tests/urlpatterns/tests.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/django/test/client.py b/django/test/client.py index 1eb2e2dd06..e8e4e0c6f8 100644 --- a/django/test/client.py +++ b/django/test/client.py @@ -48,7 +48,7 @@ class RedirectCycleError(Exception): class FakePayload: """ A wrapper around BytesIO that restricts what can be read since data from - the network can't be seeked and cannot be read outside of its content + the network can't be sought and cannot be read outside of its content length. This makes sure that views can't do anything under the test client that wouldn't work in real life. """ diff --git a/tests/urlpatterns/tests.py b/tests/urlpatterns/tests.py index f696cd531d..74503e4518 100644 --- a/tests/urlpatterns/tests.py +++ b/tests/urlpatterns/tests.py @@ -107,7 +107,7 @@ class SimplifiedURLTests(SimpleTestCase): self.assertEqual(match.url_name, 'inner-extra') self.assertEqual(match.kwargs, {'extra': 'something'}) - def test_path_inclusion_is_reversable(self): + def test_path_inclusion_is_reversible(self): url = reverse('inner-extra', kwargs={'extra': 'something'}) self.assertEqual(url, '/included_urls/extra/something/')