web/test/test_views.py
changeset 8961 cc1a0aad580c
parent 8941 7b26fe71404f
child 9836 71045bb09136
equal deleted inserted replaced
8960:14b1a7ace003 8961:cc1a0aad580c
    24     application_rql = [
    24     application_rql = [
    25         'Any L,F WHERE E is CWUser, E login L, E firstname F',
    25         'Any L,F WHERE E is CWUser, E login L, E firstname F',
    26         'Any L,F,E WHERE E is CWUser, E login L, E firstname F',
    26         'Any L,F,E WHERE E is CWUser, E login L, E firstname F',
    27         'Any COUNT(X) WHERE X is CWUser',
    27         'Any COUNT(X) WHERE X is CWUser',
    28         ]
    28         ]
       
    29 
       
    30     def to_test_etypes(self):
       
    31         # We do not really want to test cube views here. So we can drop testing 
       
    32         # some EntityType. The two Blog types below require the sioc cube that 
       
    33         # we do not want to add as a dependency.
       
    34         etypes = super(AutomaticWebTest, self).to_test_etypes()
       
    35         etypes -= set(('Blog', 'BlogEntry'))
       
    36         return etypes
    29 
    37 
    30 
    38 
    31 class SomeView(AnyRsetView):
    39 class SomeView(AnyRsetView):
    32     __regid__ = 'someview'
    40     __regid__ = 'someview'
    33 
    41