Skip to content

Commit

Permalink
fix: Removed not needed code
Browse files Browse the repository at this point in the history
  • Loading branch information
josebui committed Aug 15, 2024
1 parent c230128 commit 405c200
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions terraso_backend/tests/graphql/test_landscape.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@

import pytest

from apps.core import landscape_collaboration_roles

pytestmark = pytest.mark.django_db


Expand Down Expand Up @@ -247,8 +245,6 @@ def test_landscape_membership_query_by_membership_omit_soft_deleted(
old_membership = landscape.membership_list.memberships.filter(
user=users[0], deleted_at=None
).first()

old_membership.user_role = landscape_collaboration_roles.ROLE_MEMBER
old_membership.delete()

response = client_query(
Expand Down

0 comments on commit 405c200

Please sign in to comment.