Test reset: also reset memberships.

master
Tom Hacohen 4 years ago
parent 037f0f79a7
commit 46abeac2c0

@ -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!!!

Loading…
Cancel
Save