web/test/test_views.py
branchtls-sprint
changeset 1016 26387b836099
parent 824 a5e6acffde30
child 1087 c5e0768961c8
equal deleted inserted replaced
1014:4792a1bb72a9 1016:26387b836099
     1 """automatic tests"""
     1 """automatic tests"""
     2 
     2 
     3 from mx.DateTime import now
       
     4 
       
     5 from cubicweb.devtools.testlib import WebTest, AutomaticWebTest
     3 from cubicweb.devtools.testlib import WebTest, AutomaticWebTest
     6 from cubicweb.common.view import AnyRsetView
     4 from cubicweb.view import AnyRsetView
     7 
     5 
     8 AutomaticWebTest.application_rql = [
     6 AutomaticWebTest.application_rql = [
     9     'Any L,F WHERE E is EUser, E login L, E firstname F',
     7     'Any L,F WHERE E is EUser, E login L, E firstname F',
    10     'Any L,F,E WHERE E is EUser, E login L, E firstname F',
     8     'Any L,F,E WHERE E is EUser, E login L, E firstname F',
    11     'Any COUNT(X) WHERE X is EUser',
     9     'Any COUNT(X) WHERE X is EUser',