mirror of
https://github.com/django/django.git
synced 2025-09-13 14:06:28 +00:00
Fixed #25668 -- Misc spelling errors
This commit is contained in:
parent
a10cbbbc17
commit
3ee18400ae
12 changed files with 18 additions and 18 deletions
|
@ -760,20 +760,20 @@ class NamespaceTests(SimpleTestCase):
|
|||
"current_app should either match the whole path or shouldn't be used"
|
||||
self.assertEqual(
|
||||
'/ns-included1/test4/inner/',
|
||||
reverse('inc-ns1:testapp:urlobject-view', current_app='non-existant:test-ns3')
|
||||
reverse('inc-ns1:testapp:urlobject-view', current_app='non-existent:test-ns3')
|
||||
)
|
||||
self.assertEqual(
|
||||
'/ns-included1/test4/inner/37/42/',
|
||||
reverse('inc-ns1:testapp:urlobject-view', args=[37, 42], current_app='non-existant:test-ns3')
|
||||
reverse('inc-ns1:testapp:urlobject-view', args=[37, 42], current_app='non-existent:test-ns3')
|
||||
)
|
||||
self.assertEqual(
|
||||
'/ns-included1/test4/inner/42/37/',
|
||||
reverse('inc-ns1:testapp:urlobject-view', kwargs={'arg1': 42, 'arg2': 37},
|
||||
current_app='non-existant:test-ns3')
|
||||
current_app='non-existent:test-ns3')
|
||||
)
|
||||
self.assertEqual(
|
||||
'/ns-included1/test4/inner/+%5C$*/',
|
||||
reverse('inc-ns1:testapp:urlobject-special-view', current_app='non-existant:test-ns3')
|
||||
reverse('inc-ns1:testapp:urlobject-special-view', current_app='non-existent:test-ns3')
|
||||
)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue