server/test/unittest_migractions.py
changeset 10640 17bdc485c5b2
parent 10633 d800ecd381f6
parent 10584 743ed2b13a6f
child 10646 45671fb330f5
--- a/server/test/unittest_migractions.py	Thu Oct 08 18:24:09 2015 +0200
+++ b/server/test/unittest_migractions.py	Thu Oct 08 18:38:16 2015 +0200
@@ -435,6 +435,9 @@
             delete_concerne_rqlexpr = self._rrqlexpr_rset(cnx, 'delete', 'concerne')
             add_concerne_rqlexpr = self._rrqlexpr_rset(cnx, 'add', 'concerne')
 
+            # make sure properties (e.g. etype descriptions) are synced by the
+            # second call to sync_schema
+            mh.cmd_sync_schema_props_perms(syncprops=False, commit=False)
             mh.cmd_sync_schema_props_perms(commit=False)
 
             self.assertEqual(cnx.execute('Any D WHERE X name "Personne", X description D')[0][0],