def test_can_delete(self):
        response = self.client.get(self.change_url)
        inner_formset = response.context['inline_admin_formsets'][0].formset
        expected = InnerInline.can_delete
        actual = inner_formset.can_delete
        self.assertEqual(expected, actual, 'can_delete must be equal')
Modified htrc_*_label_fn. The individual volumes don't have 'book' as a context type.
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.4/tests/regressiontests/admin_inlines/tests.py/TestInline.test_can_delete--crossover with--dataset/ETHPy150Open inpho/vsm/vsm/extensions/htrc.py/page_url