hooks/test/unittest_syncschema.py
changeset 8483 4ba11607d84a
parent 7845 2172978be237
child 8544 3d049071957e
--- a/hooks/test/unittest_syncschema.py	Tue Jul 17 17:16:28 2012 +0200
+++ b/hooks/test/unittest_syncschema.py	Tue Jul 17 12:24:46 2012 +0200
@@ -294,7 +294,7 @@
     def test_change_fulltext_container(self):
         req = self.request()
         target = req.create_entity(u'EmailAddress', address=u'rick.roll@dance.com')
-        target.set_relations(reverse_use_email=req.user)
+        target.cw_set(reverse_use_email=req.user)
         self.commit()
         rset = req.execute('Any X WHERE X has_text "rick.roll"')
         self.assertIn(req.user.eid, [item[0] for item in rset])