server/test/unittest_repository.py
changeset 7161 e3f69df8dac7
parent 7148 753b9b48b41e
child 7194 79686c864bbf
--- a/server/test/unittest_repository.py	Thu Mar 31 17:24:38 2011 +0200
+++ b/server/test/unittest_repository.py	Fri Apr 01 08:20:25 2011 +0200
@@ -320,7 +320,7 @@
         self.assertEqual(len(constraints), 1)
         cstr = constraints[0]
         self.assert_(isinstance(cstr, RQLConstraint))
-        self.assertEqual(cstr.restriction, 'O final TRUE')
+        self.assertEqual(cstr.expression, 'O final TRUE')
 
         ownedby = schema.rschema('owned_by')
         self.assertEqual(ownedby.objects('CWEType'), ('CWUser',))