summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMin ho Kim <minho42@gmail.com>2019-06-17 20:38:04 +1000
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2019-06-17 12:38:04 +0200
commit6e8303d49ba55e7393c7ef5553b240ae0d2f0c00 (patch)
tree46cf264990ce23e7013a7d033dea80d10e8dbd50
parent415e899dc46c2f8d667ff11d3e54eff759eaded4 (diff)
Fixed typos in FakePayload docstring and SimplifiedURLTests test name.
-rw-r--r--django/test/client.py2
-rw-r--r--tests/urlpatterns/tests.py2
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/')