test/test_keyword.py
author Katia Saurfelt <katia.saurfelt@logilab.fr>
Wed, 07 May 2014 15:42:50 +0200
branchstable
changeset 156 bb29885ee3a4
parent 155 6d8032c3979d
child 160 946f6b4bf8a4
child 161 89c9f2912471
permissions -rw-r--r--
[tests] assertItemsEqual is deprecated, use assertCountEqual instead

from logilab.common.testlib import unittest_main
from cubicweb.devtools.testlib import AutomaticWebTest

class AutomaticWebTest(AutomaticWebTest):
    no_auto_populate = ('Keyword', 'CodeKeyword')
    ignored_relations = set(('descendant_of',))

    def to_test_etypes(self):
        # add cwgroup to test keyword components on entity on which they can be applied
        return set(('Classification', 'Keyword', 'CWGroup'))

    def list_startup_views(self):
        return ()

if __name__ == '__main__':
    unittest_main()