pylint amnesty in heartbeat,header_control and lang_pref (#26369)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
"""
|
||||
""" # lint-amnesty, pylint: disable=django-not-configured
|
||||
This middleware is used for adjusting the headers in a response before it is sent to the end user.
|
||||
|
||||
This middleware is intended to sit as close as possible to the top of the middleare list as possible,
|
||||
|
||||
@@ -11,7 +11,7 @@ from openedx.core.djangoapps.header_control.middleware import HeaderControlMiddl
|
||||
class TestHeaderControlMiddlewareProcessResponse(TestCase):
|
||||
"""Test the `header_control` middleware. """
|
||||
def setUp(self):
|
||||
super(TestHeaderControlMiddlewareProcessResponse, self).setUp()
|
||||
super(TestHeaderControlMiddlewareProcessResponse, self).setUp() # lint-amnesty, pylint: disable=super-with-arguments
|
||||
self.middleware = HeaderControlMiddleware()
|
||||
|
||||
def test_doesnt_barf_if_not_modifying_anything(self):
|
||||
|
||||
Reference in New Issue
Block a user