def METHOD_NAME(self):
    """Anonymous users cannot claim playlists."""
    playlist = factories.PlaylistFactory()
    response = self.client.post(
        f"/api/playlists/{playlist.id}/claim/",
        content_type="application/json",
    )
    self.assertEqual(response.status_code, 401)
    playlist.refresh_from_db()
    self.assertFalse(PlaylistAccess.objects.filter(playlist=playlist).exists())