branch | stable |
changeset 7212 | 040d3597444f |
parent 6340 | 470d8e828fda |
child 7244 | a918f76441ce |
--- a/entities/test/unittest_base.py Tue Apr 12 13:05:16 2011 +0200 +++ b/entities/test/unittest_base.py Tue Apr 12 17:32:06 2011 +0200 @@ -111,6 +111,11 @@ 'creation_date', 'modification_date', 'cwuri', 'eid')) ) + def test_cw_instantiate_object_relation(self): + """ a weird non regression test """ + e = self.execute('CWUser U WHERE U login "member"').get_entity(0, 0) + self.request().create_entity('CWGroup', name=u'logilab', reverse_in_group=e) + class InterfaceTC(CubicWebTC):