equal
deleted
inserted
replaced
256 'WHERE DEF relation_type RT, DEF from_entity E,' |
256 'WHERE DEF relation_type RT, DEF from_entity E,' |
257 'RT name "surname", E name "CWUser"') |
257 'RT name "surname", E name "CWUser"') |
258 self.commit() |
258 self.commit() |
259 # should not be able anymore to add cwuser without surname |
259 # should not be able anymore to add cwuser without surname |
260 self.assertRaises(ValidationError, self.create_user, "toto") |
260 self.assertRaises(ValidationError, self.create_user, "toto") |
|
261 self.rollback() |
261 self.execute('SET DEF cardinality "?1" ' |
262 self.execute('SET DEF cardinality "?1" ' |
262 'WHERE DEF relation_type RT, DEF from_entity E,' |
263 'WHERE DEF relation_type RT, DEF from_entity E,' |
263 'RT name "surname", E name "CWUser"') |
264 'RT name "surname", E name "CWUser"') |
264 self.commit() |
265 self.commit() |
265 |
266 |