Skip to content
Snippets Groups Projects
Commit fd0f1373 authored by Tore.Brede's avatar Tore.Brede
Browse files

GREG-28: Fixing pylint warning

parent 8baaafba
No related branches found
No related tags found
1 merge request!32GREG-28: Adding a filter for active roles
Pipeline #91471 passed
......@@ -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"})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment