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