changeset 5679 | 0f2ded880d01 |
parent 5557 | 1a534c596bff |
parent 5667 | 04cbd80fd5dc |
child 5687 | 3ea39709b50e |
--- a/test/unittest_rset.py Mon Jun 07 12:39:15 2010 +0200 +++ b/test/unittest_rset.py Mon Jun 07 13:22:24 2010 +0200 @@ -397,5 +397,9 @@ '(Any X,N WHERE X is CWGroup, X name N)' ')') + def test_count_users_by_date(self): + rset = self.execute('Any D, COUNT(U) GROUPBY D WHERE U is CWUser, U creation_date D') + self.assertEquals(rset.related_entity(0,0), (None, None)) + if __name__ == '__main__': unittest_main()