From fb488f3c6e88e6aa4bf8598e7f646285468004f5 Mon Sep 17 00:00:00 2001 From: Valentin Deniaud Date: Tue, 21 Sep 2021 11:07:25 +0200 Subject: [PATCH 43/59] misc: fix useless-super-delegation pylint error (#56982) --- src/authentic2/api_views.py | 3 --- tests/conftest.py | 3 --- 2 files changed, 6 deletions(-) diff --git a/src/authentic2/api_views.py b/src/authentic2/api_views.py index d3975d17..1540cd76 100644 --- a/src/authentic2/api_views.py +++ b/src/authentic2/api_views.py @@ -655,9 +655,6 @@ class IsoDateTimeFilter(BaseIsoDateTimeFilter): else: raise NotImplementedError - def filter(self, qs, value): - return super().filter(qs, value) - class UsersFilter(FilterSet): class Meta: diff --git a/tests/conftest.py b/tests/conftest.py index c35fe3cc..cb15f0d8 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -298,9 +298,6 @@ def oidc_client(db, ou1): ) class TestOIDCUser(OIDCUser): - def __init__(self, oidc_client): - super().__init__(oidc_client) - @property def username(self): return self.oidc_client.client_id -- 2.30.2