# HG changeset patch # User Aurelien Campeas # Date 1302622326 -7200 # Node ID 040d3597444f75ef661f20e60345f3af676058d7 # Parent 29cd85f20ccb00e3fc7cd8be0b7b58b9bac757cf [entities/test] add failing test for cw_instantiate diff -r 29cd85f20ccb -r 040d3597444f entities/test/unittest_base.py --- 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):