diff -r 078cfa8a5187 -r cbd7b2f49dc9 hooks/test/unittest_syncschema.py --- a/hooks/test/unittest_syncschema.py Thu Apr 21 17:25:32 2011 +0200 +++ b/hooks/test/unittest_syncschema.py Wed Apr 27 09:55:17 2011 +0200 @@ -251,7 +251,8 @@ 'RT name "surname", E name "CWUser"') self.commit() # should not be able anymore to add cwuser without surname - self.assertRaises(ValidationError, self.create_user, "toto") + req = self.request() + self.assertRaises(ValidationError, self.create_user, req, "toto") self.rollback() self.execute('SET DEF cardinality "?1" ' 'WHERE DEF relation_type RT, DEF from_entity E,'