[dataimport/test] fix python2.6 syntax error
Don't use braces for set literals.
--- 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')