fix: Call parent constructor for new Permission in test

This commit is contained in:
Ehsan200 2023-07-12 14:32:34 +03:30
parent 2f230c2e85
commit 751d69a3ab

View File

@ -742,6 +742,7 @@ class PermissionsCacheTests(TestCase):
class IsAuthenticatedUserOwnerWithCounter(permissions.IsAuthenticated):
def __init__(self):
super().__init__()
self.call_counter = 0
def has_permission(self, request, view):