test/test_keyword.py
author Samuel Trégouët <samuel.tregouet@logilab.fr>
Fri, 01 Sep 2017 15:46:52 +0200
branchstable
changeset 181 d49d242230ff
parent 161 89c9f2912471
child 203 0156c401e901
permissions -rw-r--r--
new style: update spec

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):
        # only test the cube related entities
        return set(('Classification', 'Keyword', 'CodeKeyword'))

    def list_startup_views(self):
        return ()

if __name__ == '__main__':
    unittest_main()