Skip to content

Commit

Permalink
fix: middleware get_response parameter deprecation (openedx#33098)
Browse files Browse the repository at this point in the history
  • Loading branch information
irtazaakram committed Aug 25, 2023
1 parent 0c46334 commit ff03d59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/test/pacts/middleware.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class AuthenticationMiddleware(MiddlewareMixin):
See https://docs.pact.io/faq#how-do-i-test-oauth-or-other-security-headers
"""
def __init__(self, get_response):
super().__init__()
super().__init__(get_response)

username = getattr(settings, 'MOCK_USERNAME', 'Mock User')
self.auth_user = UserFactory.create(username=username)
Expand Down

0 comments on commit ff03d59

Please sign in to comment.