def METHOD_NAME(self):
    """Check if location can be deleted with insti role."""
    location = Location.objects.create(name='TL', reusable=False)
    url = '/api/locations/' + str(location.id)
    response = self.client.delete(url, format='json')
    self.assertEqual(response.status_code, 403)
    self.user.profile.institute_roles.add(self.insti_role)
    response = self.client.delete(url, format='json')
    self.assertEqual(response.status_code, 204)
    self.user.profile.institute_roles.remove(self.insti_role)