mirror of
https://github.com/django/django.git
synced 2025-10-29 16:46:11 +00:00
This commit is contained in:
@@ -144,8 +144,9 @@ class PartialTagsTests(TestCase):
|
||||
RuntimeWarning,
|
||||
"PartialTemplate.source is only available when template "
|
||||
"debugging is enabled.",
|
||||
):
|
||||
) as ctx:
|
||||
self.assertEqual(partial.template.source, "")
|
||||
self.assertEqual(ctx.filename, __file__)
|
||||
|
||||
|
||||
class RobustPartialHandlingTests(TestCase):
|
||||
|
||||
Reference in New Issue
Block a user