Test reset: also reset memberships.

This commit is contained in:
Tom Hacohen 2020-10-25 12:14:55 +02:00
parent 037f0f79a7
commit 46abeac2c0

View File

@ -861,6 +861,7 @@ class TestAuthenticationViewSet(viewsets.ViewSet):
# Delete all of the journal data for this user for a clear test env # Delete all of the journal data for this user for a clear test env
user.collection_set.all().delete() user.collection_set.all().delete()
user.collectionmember_set.all().delete()
user.incoming_invitations.all().delete() user.incoming_invitations.all().delete()
# FIXME: also delete chunk files!!! # FIXME: also delete chunk files!!!