Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(19)  |  Call(19)  |  Derive(0)  |  Import(0)

src/f/t/ftw.lawgiver-1.2.2/ftw/lawgiver/tests/test_actiongroups.py   ftw.lawgiver(Download)
 
        self.assertEqual(
            registry.get_action_groups_for_workflow('my_workflow'),
 
            {'view': set([u'Access contents information',
 
        self.assertEqual(
            registry.get_action_groups_for_workflow('my_workflow'),
 
            {'view': set([u'Access contents information',
 
        self.assertEqual(
            registry.get_action_groups_for_workflow('foo'),
 
            {'view': set([u'Access contents information',
        # without specifying workflow
        self.assertEqual(
            'view',
            registry.get_action_group_for_permission(
                'View'))
 
        self.assertEqual(
            'edit',