def METHOD_NAME(self):
    self.fake_file = ContentFile(b"A boring example document")
    self.fake_file.name = "test.txt"
    self.password_collection = Collection.objects.get(name="Password protected")
    self.login_collection = Collection.objects.get(name="Login protected")
    self.group_collection = Collection.objects.get(name="Group protected")
    self.view_restriction = CollectionViewRestriction.objects.get(
        collection=self.password_collection
    )
    self.event_editors_group = Group.objects.get(name="Event editors")