def test_large_deletes(self):
        for x in range(300):
            track = Book.objects.create(pagecount=x+100)
        # attach a signal to make sure we will not fast-delete
        def noop(*args, **kwargs):
            pass
        models.signals.post_delete.connect(noop, sender=Book)
        Book.objects.all().delete()
        models.signals.post_delete.disconnect(noop, sender=Book)
        self.assertEqual(Book.objects.count(), 0)
Regression for #13309 -- if the number of objects > chunk size, deletion still occurs
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.5/tests/regressiontests/delete_regress/tests.py/LargeDeleteTests.test_large_deletes