From 46abeac2c051050d5400238347cf6c11008fc91b Mon Sep 17 00:00:00 2001 From: Tom Hacohen Date: Sun, 25 Oct 2020 12:14:55 +0200 Subject: [PATCH] Test reset: also reset memberships. --- django_etebase/views.py | 1 + 1 file changed, 1 insertion(+) diff --git a/django_etebase/views.py b/django_etebase/views.py index 5328c84..3c40e17 100644 --- a/django_etebase/views.py +++ b/django_etebase/views.py @@ -861,6 +861,7 @@ class TestAuthenticationViewSet(viewsets.ViewSet): # Delete all of the journal data for this user for a clear test env user.collection_set.all().delete() + user.collectionmember_set.all().delete() user.incoming_invitations.all().delete() # FIXME: also delete chunk files!!!