don't fail test if portal_atct is missing
This commit is contained in:
		
							parent
							
								
									654869a30d
								
							
						
					
					
						commit
						7cfbd20d72
					
				@ -48,6 +48,8 @@ class CatalogSetupTest(unittest.TestCase):
 | 
			
		||||
        )
 | 
			
		||||
 | 
			
		||||
    def test_collection_criteria_installed(self):
 | 
			
		||||
        if 'portal_atct' not in self.portal:
 | 
			
		||||
            return
 | 
			
		||||
        try:
 | 
			
		||||
            self.portal.portal_atct.getIndex('commentators')
 | 
			
		||||
            self.portal.portal_atct.getIndex('total_comments')
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user