mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #23395 -- Limited line lengths to 119 characters.
This commit is contained in:
committed by
Tim Graham
parent
84b0a8d2aa
commit
b1e33ceced
@@ -127,7 +127,9 @@ class UrlTagTests(SimpleTestCase):
|
||||
@ignore_warnings(category=RemovedInDjango110Warning)
|
||||
@setup({'url19': '{% url named_url client.id %}'})
|
||||
def test_url19(self):
|
||||
output = self.engine.render_to_string('url19', {'client': {'id': 1}, 'named_url': 'template_tests.views.client'})
|
||||
output = self.engine.render_to_string(
|
||||
'url19', {'client': {'id': 1}, 'named_url': 'template_tests.views.client'}
|
||||
)
|
||||
self.assertEqual(output, '/client/1/')
|
||||
|
||||
@setup({'url20': '{% url url_name_in_var client.id %}'})
|
||||
|
||||
Reference in New Issue
Block a user