Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

Commit

Permalink
fix: fix middleware default argument
Browse files Browse the repository at this point in the history
  • Loading branch information
UsamaSadiq committed Oct 6, 2023
1 parent eb5016e commit 41bd486
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion analytics_dashboard/core/tests/test_middleware.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class MiddlewareTestCase(TestCase):
def setUp(self):
super().setUp()
self.factory = RequestFactory()
self.middleware = self.middleware_class() # pylint: disable=not-callable
self.middleware = self.middleware_class(get_response=lambda request: None) # pylint: disable=not-callable


class MiddlewareAssertionMixin:
Expand Down

0 comments on commit 41bd486

Please sign in to comment.