--- a/hooks/test/unittest_syncschema.py Fri Apr 22 10:29:23 2011 +0200
+++ b/hooks/test/unittest_syncschema.py Fri Apr 22 11:58:41 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,'