summaryrefslogtreecommitdiff
path: root/tests/urlpatterns_reverse
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2014-05-28 17:39:14 -0700
committerAlex Gaynor <alex.gaynor@gmail.com>2014-05-28 17:39:14 -0700
commit1dcc603efff8229838f27019668d864a0bcbfa59 (patch)
tree8c67764f440faeb095143498383ca57ecd4f09be /tests/urlpatterns_reverse
parente79725cdf90e3271626ed66f70b63640d3fcc521 (diff)
Fixed several typos in Django
Diffstat (limited to 'tests/urlpatterns_reverse')
-rw-r--r--tests/urlpatterns_reverse/tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/urlpatterns_reverse/tests.py b/tests/urlpatterns_reverse/tests.py
index ade0a7a68d..d40e410c2a 100644
--- a/tests/urlpatterns_reverse/tests.py
+++ b/tests/urlpatterns_reverse/tests.py
@@ -373,7 +373,7 @@ class ReverseShortcutTests(TestCase):
def test_reverse_by_path_nested(self):
# Views that are added to urlpatterns using include() should be
- # reversable by doted path.
+ # reversible by doted path.
self.assertEqual(reverse('urlpatterns_reverse.views.nested_view'), '/includes/nested_path/')
def test_redirect_view_object(self):
@@ -439,7 +439,7 @@ class NamespaceTests(TestCase):
self.assertEqual('/ns-included1/+%5C$*/', reverse('inc-ns1:inc-special-view'))
def test_namespace_pattern_with_variable_prefix(self):
- "When using a include with namespaces when there is a regex variable in front of it"
+ "When using an include with namespaces when there is a regex variable in front of it"
self.assertEqual('/ns-outer/42/normal/', reverse('inc-outer:inc-normal-view', kwargs={'outer': 42}))
self.assertEqual('/ns-outer/42/normal/', reverse('inc-outer:inc-normal-view', args=[42]))
self.assertEqual('/ns-outer/42/normal/37/4/', reverse('inc-outer:inc-normal-view', kwargs={'outer': 42, 'arg1': 37, 'arg2': 4}))