Merge branch 'release/v9.75'
This commit is contained in:
@@ -38,9 +38,9 @@ class CustomErrorHandlerTests(TestCase):
|
||||
self.assertEqual(response.status_code, 404)
|
||||
self.assertIn('We could not find' ,str(response.content))
|
||||
|
||||
def test_handler_500(self):
|
||||
response = self.c.get('/500/')
|
||||
# Make assertions on the response here. For example:
|
||||
self.assertEqual(response.status_code, 500)
|
||||
self.assertIn('The site developer' ,str(response.content))
|
||||
# def test_handler_500(self):
|
||||
# response = self.c.get('/500/')
|
||||
# # Make assertions on the response here. For example:
|
||||
# self.assertEqual(response.status_code, 500)
|
||||
# self.assertIn('The site developer' ,str(response.content))
|
||||
|
||||
|
||||
BIN
rowers/tests/testdata/testdata.csv.gz
vendored
BIN
rowers/tests/testdata/testdata.csv.gz
vendored
Binary file not shown.
@@ -77,7 +77,7 @@ urlpatterns += [
|
||||
re_path(r'^i18n/', include('django.conf.urls.i18n')),
|
||||
re_path(r'^tz_detect/', include('tz_detect.urls')),
|
||||
path('django-rq/', include('django_rq.urls')),
|
||||
path('500/', rowersviews.error500_view),
|
||||
# path('500/', rowersviews.error500_view),
|
||||
# re_path(r'^jsi18n/', django.views.i18n.javascript_catalog,name='jsi18n'),
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user