20 USERACTIONS = [('myprefs', actions.UserPreferencesAction), |
20 USERACTIONS = [('myprefs', actions.UserPreferencesAction), |
21 ('myinfos', actions.UserInfoAction), |
21 ('myinfos', actions.UserInfoAction), |
22 ('logout', actions.LogoutAction)] |
22 ('logout', actions.LogoutAction)] |
23 SITEACTIONS = [('siteconfig', actions.SiteConfigurationAction), |
23 SITEACTIONS = [('siteconfig', actions.SiteConfigurationAction), |
24 ('manage', actions.ManageAction), |
24 ('manage', actions.ManageAction), |
25 ('schema', schema.ViewSchemaAction)] |
25 ('schema', schema.ViewSchemaAction), |
26 |
26 ('siteinfo', actions.SiteInfoAction), |
|
27 ] |
27 |
28 |
28 class ViewSelectorTC(EnvBasedTC): |
29 class ViewSelectorTC(EnvBasedTC): |
29 |
30 |
30 def setup_database(self): |
31 def setup_database(self): |
31 self.add_entity('BlogEntry', title=u"une news !", content=u"cubicweb c'est beau") |
32 self.add_entity('BlogEntry', title=u"une news !", content=u"cubicweb c'est beau") |