

def test_cannot_delete_root_collection(self):
    response = self.get(collection_id=self.root_collection.id)
    self.assertEqual(response.status_code, 404)

dataset/ETHPy150Open torchbox/wagtail/wagtail/wagtailadmin/tests/test_collections_views.py TestDeleteCollection.test_cannot_delete_root_collection/original