'User can clear a placeholder if he has change permissions
on the model attached to the placeholder.'

def test_user_can_clear_empty_placeholder(self):

    staff_user = self._staff_user
    placeholder = self._obj.placeholder
    endpoint = self.get_clear_placeholder_url(placeholder, container=Example1)
    self.add_permission(staff_user, 'change_example1')
    with self.login_user_context(staff_user):
        response = self.client.post(endpoint, {'test': 0})
        self.assertEqual(response.status_code, 302)
