cubicweb/hooks/test/unittest_syncschema.py
changeset 11358 179b5ff3f428
parent 11341 bd3cd3691ade
child 11417 5e5e224239c3
--- 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]