mirror of
https://github.com/django/django.git
synced 2025-08-04 19:08:28 +00:00
Fixed spelling of "nonexistent".
This commit is contained in:
parent
a21ec12409
commit
29f607927f
47 changed files with 141 additions and 114 deletions
|
@ -37,9 +37,9 @@ class TemplateStringsTests(SimpleTestCase):
|
|||
content = template.render({'name': 'world'})
|
||||
self.assertEqual(content, "Hello world!\n")
|
||||
|
||||
def test_get_template_non_existing(self):
|
||||
def test_get_template_nonexistent(self):
|
||||
with self.assertRaises(TemplateDoesNotExist) as e:
|
||||
self.engine.get_template('template_backends/non_existing.html')
|
||||
self.engine.get_template('template_backends/nonexistent.html')
|
||||
self.assertEqual(e.exception.backend, self.engine)
|
||||
|
||||
def test_get_template_syntax_error(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue