mirror of
https://github.com/django/django.git
synced 2024-12-01 15:42:04 +01:00
Fixed typo in test name.
This commit is contained in:
parent
ff19df9c2d
commit
300de968d6
@ -878,7 +878,7 @@ class ErrorHandlerResolutionTests(SimpleTestCase):
|
|||||||
self.assertEqual(self.resolver.resolve_error_handler(404), handler)
|
self.assertEqual(self.resolver.resolve_error_handler(404), handler)
|
||||||
self.assertEqual(self.resolver.resolve_error_handler(500), handler)
|
self.assertEqual(self.resolver.resolve_error_handler(500), handler)
|
||||||
|
|
||||||
def test_callable_handers(self):
|
def test_callable_handlers(self):
|
||||||
handler = (empty_view, {})
|
handler = (empty_view, {})
|
||||||
self.assertEqual(self.callable_resolver.resolve_error_handler(400), handler)
|
self.assertEqual(self.callable_resolver.resolve_error_handler(400), handler)
|
||||||
self.assertEqual(self.callable_resolver.resolve_error_handler(404), handler)
|
self.assertEqual(self.callable_resolver.resolve_error_handler(404), handler)
|
||||||
|
Loading…
Reference in New Issue
Block a user