From fd0f1373a3c1c3a6678573a539e78dc81219f2df Mon Sep 17 00:00:00 2001
From: Tore Brede <Tore.Brede@uib.no>
Date: Mon, 30 Aug 2021 12:12:21 +0200
Subject: [PATCH] GREG-28: Fixing pylint warning

---
 greg/tests/api/test_person.py | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/greg/tests/api/test_person.py b/greg/tests/api/test_person.py
index 9e259e1c..f1bac927 100644
--- a/greg/tests/api/test_person.py
+++ b/greg/tests/api/test_person.py
@@ -427,7 +427,6 @@ def test_add_duplicate_role_fails(
 def test_filter_active_includes_person_with_active_role(
     client,
     person_foo: Person,
-    person_foo_role: PersonRole,
     sponsor_guy: Sponsor,
     unit_foo: OrganizationalUnit,
     role_test_guest: Role,
@@ -452,12 +451,7 @@ def test_filter_active_includes_person_with_active_role(
 
 @pytest.mark.django_db
 def test_filter_active_excludes_person_with_no_active_role(
-    client,
-    person_foo: Person,
-    person_foo_role: PersonRole,
-    sponsor_guy: Sponsor,
-    unit_foo: OrganizationalUnit,
-    role_test_guest: Role,
+    client, person_foo: Person, person_foo_role: PersonRole
 ):
     url = reverse("v1:person-list")
     response = client.get(url, {"active": "true"})
-- 
GitLab