def cleanAll(self, check_response=True):

        # Cleaning up simple docs
        self.cleanUp(self.documents_pdf, check_response=check_response)
        self.cleanUp(self.documents_tif, check_response=check_response)
        self.cleanUp(self.documents_txt, check_response=check_response)
        self.cleanUp(self.documents_pdf2, check_response=check_response)
        self.cleanUp(self.documents_jpg, check_response=check_response)

        # Cleanup hashed dicts
        # (I'm sure there is a more elegant way to do this)
        cleanup_docs_list = []
        for doc, hashed in self.documents_hash:
            cleanup_docs_list.append(doc)
        for doc, hashed in self.documents_missing_hash:
            cleanup_docs_list.append(doc)
        self.cleanUp(cleanup_docs_list, check_response=check_response)

        # Un used file cleanup
        self.cleanUp(self.uncategorized_codes, check_response=check_response)
Write an executable file to the scripts directory
dataset/ETHPy150Open adlibre/Adlibre-DMS/adlibre_dms/libraries/adlibre/dms/base_test.py/DMSTestCase.cleanAll--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/setuptools-0.6c11/setuptools/command/install_scripts.py/install_scripts.write_script