Skip to content

Don't skip portal_components code in testSecurity

Jérome Perrin requested to merge fix/testSecurityComponent into master

We have been using filter(lambda x:'/erp5/' in x[0], error_list) as a way to see only missing declarations from ERP5 code, but only ERP5 filesystem code contains /erp5/ in the filenames, in-ZODB components filename is set to something like <portal_components/document.erp5.FTPConnector>

Change to also check methods for which filename contains <portal_components and also to print the ignored methods

Edited by Jérome Perrin

Merge request reports