def test_remove_links(self):
        """Test submission with blank link boxes.

        All the links should be deleted, as the forms are blank."""
        form_data = self._base_form()
        links = ExternalLink.objects.all()
        link_forms = [{'id': link.id} for link in links]
        form_data.update(_build_links(2, *link_forms))
        response = self.client.post(self.edit_path, form_data)
        self.assertRedirects(response, self.view_path)
        eq_(ExternalLink.objects.count(), 0)