--- a/cubicweb/hooks/test/unittest_syncschema.py Mon Jun 20 17:56:49 2016 +0200
+++ b/cubicweb/hooks/test/unittest_syncschema.py Wed Jun 22 17:13:10 2016 +0200
@@ -274,7 +274,8 @@
def test_unique_change(self):
with self.admin_access.repo_cnx() as cnx:
try:
- eid = cnx.execute('INSERT CWConstraint X: X cstrtype CT, DEF constrained_by X '
+ eid = cnx.execute('INSERT CWConstraint X: X cstrtype CT, X value "{}", '
+ ' DEF constrained_by X '
'WHERE CT name "UniqueConstraint", DEF relation_type RT, '
'DEF from_entity E, RT name "name", '
'E name "Workflow"').rows[0][0]