def testPortalTabsNotIncludeViewNamesInCSSid(self):
     self.setRoles(['Manager'])
     self.portal.invokeFactory('File', 'file1')
     view = self.view_class(self.portal, self.request)
     tabs = view.topLevelTabs(actions=[])
     for tab in tabs:
         self.assertEqual(validateCSSIdentifier(tab['id']), True)
 def testPortalTabsNotIncludeViewNamesInCSSid(self):
     self.setRoles(['Manager'])
     self.portal.invokeFactory('File', 'file1')
     view = self.view_class(self.portal, self.request)
     tabs = view.topLevelTabs(actions=[])
     for tab in tabs:
         self.assertEqual(validateCSSIdentifier(tab['id']), True)