yams api update
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Thu, 10 Dec 2009 10:36:24 +0100
changeset 4103 dc04bede3502
parent 4102 5ba6df5fcb07
child 4104 7e478d7caf20
yams api update
server/test/unittest_migractions.py
--- a/server/test/unittest_migractions.py	Thu Dec 10 10:36:17 2009 +0100
+++ b/server/test/unittest_migractions.py	Thu Dec 10 10:36:24 2009 +0100
@@ -287,7 +287,7 @@
         migrschema['ass'].rdefs[('Personne', 'String')].order = 5
         migrschema['Personne'].description = 'blabla bla'
         migrschema['titre'].description = 'usually a title'
-        migrschema['titre'].rdefs[('Personne', 'String')]['description'] = 'title for this person'
+        migrschema['titre'].rdefs[('Personne', 'String')].description = 'title for this person'
         self.mh.cmd_sync_schema_props_perms(commit=False)
 
         self.assertEquals(cursor.execute('Any D WHERE X name "Personne", X description D')[0][0],