branch | stable |
changeset 6410 | 2e7a7b0829ed |
parent 6340 | 470d8e828fda |
child 6412 | 370357e68837 |
--- a/hooks/test/unittest_syncschema.py Thu Oct 07 19:02:00 2010 +0200 +++ b/hooks/test/unittest_syncschema.py Fri Oct 08 07:43:38 2010 +0200 @@ -258,6 +258,7 @@ self.commit() # should not be able anymore to add cwuser without surname self.assertRaises(ValidationError, self.create_user, "toto") + self.rollback() self.execute('SET DEF cardinality "?1" ' 'WHERE DEF relation_type RT, DEF from_entity E,' 'RT name "surname", E name "CWUser"')