Did I find the right examples for you? yes no

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)

src/c/e/CellProfiler-HEAD/cellprofiler/modules/tests/test_renameorrenumberfiles.py   CellProfiler(Download)
        workspace, module = self.make_workspace(file_name)
        self.assertTrue(isinstance(module, R.RenameOrRenumberFiles))
        module.action.value = R.A_DELETE
        module.number_characters_prefix.value = 2
        module.number_characters_suffix.value = 4
        workspace, module = self.make_workspace(file_name)
        self.assertTrue(isinstance(module, R.RenameOrRenumberFiles))
        module.action.value = R.A_DELETE
        module.number_characters_prefix.value = 2
        module.number_characters_suffix.value = 4
        # Delete nothing here.
        #
        module.action.value = R.A_DELETE
        module.number_characters_prefix.value = 7
        module.number_characters_suffix.value = 4