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

Fixing pyling warnings

parent 66a8f5e9
No related branches found
No related tags found
1 merge request!19GREG-10: Adding cascading deletes for persons
Pipeline #89078 failed
......@@ -5,7 +5,7 @@ from rest_framework import status
from rest_framework.reverse import reverse
from rest_framework.status import HTTP_200_OK
from greg.models import Person, PersonIdentity, Sponsor, Role, OrganizationalUnit
from greg.models import Person, PersonIdentity, Sponsor, Role, OrganizationalUnit, Consent
@pytest.fixture
......@@ -395,7 +395,7 @@ def test_remove_person(
assert len(response.json()["results"]) == 2
# Delete the person and check that the data has been removed
resp = client.delete(reverse("person-detail", kwargs={"id": person_foo.id}))
client.delete(reverse("person-detail", kwargs={"id": person_foo.id}))
updated_role_data = client.get(url)
assert len(updated_role_data.json()["results"]) == 0
......
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