test/unittest_rset.py
branchstable
changeset 5667 04cbd80fd5dc
parent 5426 0d4853a6e5ee
child 5679 0f2ded880d01
child 5740 46207f491a51
equal deleted inserted replaced
5666:58d6c2c96500 5667:04cbd80fd5dc
   395                           '(Any X,N WHERE X is Bookmark, X title N) '
   395                           '(Any X,N WHERE X is Bookmark, X title N) '
   396                           'UNION '
   396                           'UNION '
   397                           '(Any X,N WHERE X is CWGroup, X name N)'
   397                           '(Any X,N WHERE X is CWGroup, X name N)'
   398                           ')')
   398                           ')')
   399 
   399 
       
   400     def test_count_users_by_date(self):
       
   401         rset = self.execute('Any D, COUNT(U) GROUPBY D WHERE U is CWUser, U creation_date D')
       
   402         self.assertEquals(rset.related_entity(0,0), (None, None))
       
   403 
   400 if __name__ == '__main__':
   404 if __name__ == '__main__':
   401     unittest_main()
   405     unittest_main()