web/test/unittest_viewselector.py
changeset 2439 77d8dd77acb3
parent 2058 7ef12c03447c
child 2440 8e6b83e3b6b5
equal deleted inserted replaced
2438:576f4d51f826 2439:77d8dd77acb3
    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")