• Jérome Perrin's avatar
    testSecurity: don't skip portal_components in test_method_protection · d28c0fbc
    Jérome Perrin authored
    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
    d28c0fbc
testSecurity.py 5.71 KB