Fixed typos in FakePayload docstring and SimplifiedURLTests test name.
This commit is contained in:
parent
415e899dc4
commit
6e8303d49b
|
@ -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.
|
||||
"""
|
||||
|
|
|
@ -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/')
|
||||
|
||||
|
|
Loading…
Reference in New Issue