dataimport/test/unittest_importer.py
changeset 11110 68477666401f
parent 10809 359cbdf3a515
child 11275 814f54d6183b
--- a/dataimport/test/unittest_importer.py	Fri Feb 12 14:09:38 2016 +0100
+++ b/dataimport/test/unittest_importer.py	Fri Feb 12 15:19:59 2016 +0100
@@ -132,7 +132,7 @@
             importer = self.importer(cnx)
             # First import
             richelieu = ExtEntity('Personne', 11,
-                                  {'nom': {u'Richelieu Diacre'}})
+                                  {'nom': set([u'Richelieu Diacre'])})
             importer.import_entities([richelieu])
             cnx.commit()
             rset = cnx.execute('Any X WHERE X is Personne')
@@ -140,7 +140,7 @@
             self.assertEqual(entity.nom, u'Richelieu Diacre')
             # Second import
             richelieu = ExtEntity('Personne', 11,
-                                  {'nom': {u'Richelieu Cardinal'}})
+                                  {'nom': set([u'Richelieu Cardinal'])})
             importer.import_entities([richelieu])
             cnx.commit()
             rset = cnx.execute('Any X WHERE X is Personne')